[Babel-users] [PATCH] FIX: interface.c: flush_interface() call local_notify_interface() once

Christof Schulze christof.schulze at gmx.net
Mon Dec 3 07:33:13 GMT 2018


This removes a duplicate call to local_notify_interface(ifp, LOCAL_FLUSH)
which lead to duplicate output on the monitoring socket.
---
  interface.c | 2 --
  1 file changed, 2 deletions(-)

diff --git a/interface.c b/interface.c
index 9d1c645..123455d 100644
--- a/interface.c
+++ b/interface.c
@@ -115,8 +115,6 @@ flush_interface(char *ifname)
      else
          interfaces = ifp->next;
  
-    local_notify_interface(ifp, LOCAL_FLUSH);
-
      if(ifp->conf != NULL && ifp->conf != default_interface_conf)
          flush_ifconf(ifp->conf);
  
-- 
2.11.0




More information about the Babel-users mailing list