Commit a09b114c authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Allow installing IPv4 routes through non-IPv4 interfaces.

A node with no IPv4 addresses may still be able to forward
IPv4 packets.
parent 3646ba98
...@@ -966,11 +966,6 @@ parse_packet(const unsigned char *from, struct interface *ifp, ...@@ -966,11 +966,6 @@ parse_packet(const unsigned char *from, struct interface *ifp,
is_ss ? format_prefix(src_prefix, src_plen) : "", is_ss ? format_prefix(src_prefix, src_plen) : "",
format_address(from), ifp->name); format_address(from), ifp->name);
if(message[2] == AE_IPV4) {
if(!ifp->ipv4)
goto done;
}
update_route(have_router_id ? router_id : NULL, update_route(have_router_id ? router_id : NULL,
prefix, plen, src_prefix, src_plen, seqno, prefix, plen, src_prefix, src_plen, seqno,
metric, interval, neigh, nh, metric, interval, neigh, nh,
......
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