Commit a488e1c1 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Flush send_self_retract. It is dead code now.

parent 599cbf5d
...@@ -835,35 +835,6 @@ send_self_update(struct network *net, int force_seqno) ...@@ -835,35 +835,6 @@ send_self_update(struct network *net, int force_seqno)
} }
} }
void
send_self_retract(struct network *net)
{
int i;
if(net == NULL) {
for(i = 0; i < numnets; i++) {
if(!nets[i].up)
continue;
send_self_retract(&nets[i]);
}
return;
}
flushupdates();
debugf("Retracting self on %s.\n", net->ifname);
myseqno = seqno_plus(myseqno, 1);
seqno_time = now;
delay_jitter(&net->self_update_time, &net->self_update_timeout,
net->self_update_interval);
for(i = 0; i < numxroutes; i++) {
really_send_update(net, myid, xroutes[i].prefix, xroutes[i].plen,
myseqno, 0xFFFF);
}
schedule_update_flush(net, 1);
}
void void
send_neighbour_update(struct neighbour *neigh, struct network *net) send_neighbour_update(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_self_retract(struct network *net);
void send_neighbour_update(struct neighbour *neigh, struct network *net); 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);
......
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