Commit cff633d9 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Send retractions over unicast.

parent 899c4bc8
......@@ -1567,7 +1567,16 @@ send_wildcard_retraction(struct interface *ifp)
if(!if_up(ifp))
return;
buffer_wildcard_retraction(&ifp->buf);
if((ifp->flags & IF_UNICAST) != 0) {
struct neighbour *neigh;
FOR_ALL_NEIGHBOURS(neigh) {
if(neigh->ifp == ifp) {
buffer_wildcard_retraction(&neigh->buf);
}
}
} else {
buffer_wildcard_retraction(&ifp->buf);
}
}
void
......
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