Commit f72c6496 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Flush send_neighbour_update, which is dead code now.

parent 2a51ff29
...@@ -838,16 +838,6 @@ send_self_update(struct network *net, int force_seqno) ...@@ -838,16 +838,6 @@ send_self_update(struct network *net, int force_seqno)
} }
} }
void
send_neighbour_update(struct neighbour *neigh, struct network *net)
{
int i;
for(i = 0; i < numroutes; i++) {
if(routes[i].installed && routes[i].neigh == neigh)
send_update(net, 0, routes[i].src->prefix, routes[i].src->plen);
}
}
void void
send_ihu(struct neighbour *neigh, struct network *net) send_ihu(struct neighbour *neigh, struct network *net)
{ {
......
...@@ -58,7 +58,6 @@ void send_update(struct network *net, int urgent, ...@@ -58,7 +58,6 @@ void send_update(struct network *net, int urgent,
const unsigned char *prefix, unsigned char plen); const unsigned char *prefix, unsigned char plen);
void update_myseqno(int force); void update_myseqno(int force);
void send_self_update(struct network *net, int force_seqno); void send_self_update(struct network *net, int force_seqno);
void send_neighbour_update(struct neighbour *neigh, struct network *net);
void send_ihu(struct neighbour *neigh, struct network *net); void send_ihu(struct neighbour *neigh, struct network *net);
void schedule_flush_now(struct network *net); void schedule_flush_now(struct network *net);
void flushupdates(void); void flushupdates(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