Commit e51be7a0 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't forward requests to the requestor.

parent d78e4936
......@@ -134,7 +134,7 @@ parse_packet(const unsigned char *from, struct network *net,
int theirseqno = message[1];
struct route *installed;
installed = find_installed_route(dest);
if(installed) {
if(installed && installed->nexthop != neigh) {
if(seqno_compare(installed->seqno,
theirseqno) >= 0)
send_update(dest, neigh->network);
......
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