-log more details
authorChristian Grothoff <christian@grothoff.org>
Sun, 12 Feb 2012 10:53:19 +0000 (10:53 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 12 Feb 2012 10:53:19 +0000 (10:53 +0000)
src/exit/gnunet-daemon-exit.c

index 3d94c9dba798fc7991181365d78907f417f0268b..19b465634a49f304008634e1836cb780ecdb0e8c 100644 (file)
@@ -1022,7 +1022,8 @@ message_token (void *cls GNUNET_UNUSED, void *client GNUNET_UNUSED,
        break;
       default:
        GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
-                   _("IPv4 packet with unsupported next header received.  Ignored.\n"));
+                   _("IPv4 packet with unsupported next header %u received.  Ignored.\n"),
+                   (int) pkt4->protocol);
        return;
       }
     }
@@ -1067,7 +1068,8 @@ message_token (void *cls GNUNET_UNUSED, void *client GNUNET_UNUSED,
        break;
       default:
        GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
-                   _("IPv6 packet with unsupported next header received.  Ignored.\n"));
+                   _("IPv6 packet with unsupported next header %d received.  Ignored.\n"),
+                    pkt6->next_header);
        return;
       }
     }