diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-04-01 23:50:00 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-04-02 15:05:02 +0200 |
commit | 1db0f0b66fb69c08bd95aecf857e922979cc1247 (patch) | |
tree | 7eead0475115082272870f00609d3552b53635a0 /src | |
parent | c3fdaca4c822932c49c31ae0384cda96500e934e (diff) |
iface-modem-simple: add multiplex info in connection details logging
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-iface-modem-simple.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mm-iface-modem-simple.c b/src/mm-iface-modem-simple.c index 3715f74e..00b8d894 100644 --- a/src/mm-iface-modem-simple.c +++ b/src/mm-iface-modem-simple.c @@ -689,9 +689,10 @@ connect_auth_ready (MMBaseModem *self, /* Log about all the parameters being used for the simple connect */ { - MMBearerAllowedAuth allowed_auth; - gchar *str; - MMBearerIpFamily ip_family; + MMBearerMultiplexSupport multiplex; + MMBearerAllowedAuth allowed_auth; + gchar *str; + MMBearerIpFamily ip_family; #define VALIDATE_UNSPECIFIED(str) (str ? str : "unspecified") @@ -719,6 +720,11 @@ connect_auth_ready (MMBaseModem *self, mm_obj_dbg (self, " user: %s", VALIDATE_UNSPECIFIED (mm_simple_connect_properties_get_user (ctx->properties))); mm_obj_dbg (self, " password: %s", VALIDATE_UNSPECIFIED (mm_simple_connect_properties_get_password (ctx->properties))); + multiplex = mm_simple_connect_properties_get_multiplex (ctx->properties); + mm_obj_dbg (self, " multiplex: %s", VALIDATE_UNSPECIFIED (multiplex != MM_BEARER_MULTIPLEX_SUPPORT_UNKNOWN ? + mm_bearer_multiplex_support_get_string (multiplex) : + NULL)); + #undef VALIDATE_UNSPECIFIED } |