]> git.meshlink.io Git - catta/commitdiff
include address flags in debug output
authorSven M. Hallberg <pesco@khjk.org>
Mon, 8 Sep 2014 20:01:03 +0000 (22:01 +0200)
committerSven M. Hallberg <pesco@khjk.org>
Mon, 8 Sep 2014 20:01:03 +0000 (22:01 +0200)
src/iface-windows.c

index 5624f739fed2c2644fbb3aa7e91c302c5f505831..2c05bfe9f4da66251749bf4a5afc30597f7d3ac0 100644 (file)
@@ -78,9 +78,11 @@ static void ip_adapter_unicast_address(CattaInterfaceMonitor *m,
     {
         char s[CATTA_ADDRESS_STR_MAX];
         catta_log_debug(" address: %s\n"
-                        "   global_scope: %d",
+                        "   global_scope: %d\n"
+                        "   flags: 0x%.4x",
             catta_address_snprint(s, sizeof(s), &addr),
-            ifaddr->global_scope);
+            ifaddr->global_scope,
+            (unsigned int)a->Flags);
     }
 }