Commit 62a71233 authored by Christof Schulze's avatar Christof Schulze Committed by Juliusz Chroboczek

FIX: interface.c: flush_interface() call local_notify_interface() once

This removes a duplicate call to local_notify_interface(ifp, LOCAL_FLUSH)
which lead to duplicate output on the monitoring socket.
parent a7f9300b
...@@ -115,8 +115,6 @@ flush_interface(char *ifname) ...@@ -115,8 +115,6 @@ flush_interface(char *ifname)
else else
interfaces = ifp->next; interfaces = ifp->next;
local_notify_interface(ifp, LOCAL_FLUSH);
if(ifp->conf != NULL && ifp->conf != default_interface_conf) if(ifp->conf != NULL && ifp->conf != default_interface_conf)
flush_ifconf(ifp->conf); flush_ifconf(ifp->conf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment