Commit d9cf8454 authored by Christof Schulze's avatar Christof Schulze Committed by Juliusz Chroboczek

check_interfaces() leave multicast group when ifindex changes

parent 41fe2a02
...@@ -546,7 +546,6 @@ check_interfaces(void) ...@@ -546,7 +546,6 @@ check_interfaces(void)
ifindex = if_nametoindex(ifp->name); ifindex = if_nametoindex(ifp->name);
if(ifindex != ifp->ifindex) { if(ifindex != ifp->ifindex) {
debugf("Noticed ifindex change for %s.\n", ifp->name); debugf("Noticed ifindex change for %s.\n", ifp->name);
ifp->ifindex = 0;
interface_up(ifp, 0); interface_up(ifp, 0);
ifp->ifindex = ifindex; ifp->ifindex = ifindex;
ifindex_changed = 1; ifindex_changed = 1;
......
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