mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Do not allow gateway routes with NULL iface.
This commit is contained in:
@@ -686,8 +686,10 @@ nl_parse_route(struct nlmsghdr *h, int scan)
|
||||
if (ng && ng->scope)
|
||||
ra.iface = ng->iface;
|
||||
else
|
||||
/* FIXME: Remove this warning? Handle it somehow... */
|
||||
log(L_WARN "Kernel told us to use non-neighbor %I for %I/%d", ra.gw, net->n.prefix, net->n.pxlen);
|
||||
{
|
||||
log(L_WARN "Kernel told us to use non-neighbor %I for %I/%d", ra.gw, net->n.prefix, net->n.pxlen);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user