Fix initialization of peer addresses
authorHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Thu, 23 Feb 2017 08:16:09 +0000 (09:16 +0100)
committerHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Thu, 23 Feb 2017 08:16:09 +0000 (09:16 +0100)
src-plugins/subsystems/os_linux/os_interface_linux.c

index e5d6898..25cad0f 100644 (file)
@@ -568,6 +568,7 @@ _add_interface(const char *name) {
 
     /* initialize list/tree */
     avl_init(&data->addresses, avl_comp_netaddr, false);
+    avl_init(&data->peers, avl_comp_netaddr, false);
     list_init_head(&data->_listeners);
 
     /* initialize change timer */