Add better debugging output to packet socket code
authorHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Tue, 3 Apr 2018 12:23:13 +0000 (14:23 +0200)
committerHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Tue, 3 Apr 2018 12:23:13 +0000 (14:23 +0200)
src-plugins/subsystems/oonf_packet_socket.c

index 4c38d12..eb8e901 100644 (file)
@@ -843,8 +843,8 @@ _cb_interface_listener(struct os_interface_listener *l) {
   managed = container_of(l, struct oonf_packet_managed, _if_listener);
 
   result = _apply_managed(managed);
-
-  OONF_DEBUG(LOG_PACKET, "Result from interface triggered socket reconfiguration: %d", result);
+  OONF_DEBUG(LOG_PACKET, "Result from interface %s triggered socket reconfiguration: %d",
+             l->data->name, result);
 
   return result;
 }