Commit 6b637000 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Flush resends when flushing a neighbour.

parent a278047d
......@@ -33,6 +33,7 @@ THE SOFTWARE.
#include "source.h"
#include "route.h"
#include "message.h"
#include "resend.h"
#include "local.h"
struct neighbour *neighs = NULL;
......@@ -55,6 +56,7 @@ flush_neighbour(struct neighbour *neigh)
flush_neighbour_routes(neigh);
if(unicast_neighbour == neigh)
flush_unicast(1);
flush_resends(neigh);
if(neighs == neigh) {
neighs = neigh->next;
......
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