Commit df8bd71b authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix test for new seqno when reacting to a route retraction.

parent 8d9e8803
...@@ -162,7 +162,7 @@ parse_packet(const unsigned char *from, struct network *net, ...@@ -162,7 +162,7 @@ parse_packet(const unsigned char *from, struct network *net,
/* Oh my, someone is retracting a route to me. */ /* Oh my, someone is retracting a route to me. */
send_txcost(neigh, NULL); send_txcost(neigh, NULL);
send_self_update(neigh->network, send_self_update(neigh->network,
seqno_compare(theirseqno, seqno) < 0); seqno_compare(theirseqno, seqno) > 0);
} }
continue; continue;
} }
......
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