Commit 8ee8d193 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Remove dead code.

parent 6b89d5b8
...@@ -357,12 +357,10 @@ update_route(const unsigned char *a, const unsigned char *p, unsigned char plen, ...@@ -357,12 +357,10 @@ update_route(const unsigned char *a, const unsigned char *p, unsigned char plen,
if(route) { if(route) {
struct source *oldsrc; struct source *oldsrc;
unsigned short oldseqno;
unsigned short oldmetric; unsigned short oldmetric;
int lost = 0; int lost = 0;
oldsrc = route->src; oldsrc = route->src;
oldseqno = route->seqno;
oldmetric = route->metric; oldmetric = route->metric;
/* If a successor switches sources, we must accept his update even /* If a successor switches sources, we must accept his update even
......
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