Commit ab5796b1 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Ignore router-id for wildcard retraction.

parent 9e9b85d5
...@@ -334,7 +334,7 @@ parse_packet(const unsigned char *from, struct network *net, ...@@ -334,7 +334,7 @@ parse_packet(const unsigned char *from, struct network *net,
} }
have_router_id = 1; have_router_id = 1;
} }
if(!have_router_id) { if(!have_router_id && message[2] != 0) {
fprintf(stderr, "Received prefix with no router id.\n"); fprintf(stderr, "Received prefix with no router id.\n");
goto fail; goto fail;
} }
......
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