Don't try to install static routes to disconnected neighbors.
This commit is contained in:
parent
eab0d1e5e5
commit
25287d6f7e
1 changed files with 2 additions and 1 deletions
|
@ -73,6 +73,7 @@ static_start(struct proto *p)
|
||||||
r->chain = n->data;
|
r->chain = n->data;
|
||||||
n->data = r;
|
n->data = r;
|
||||||
r->neigh = n;
|
r->neigh = n;
|
||||||
|
if (n->iface)
|
||||||
static_install(p, r, n->iface);
|
static_install(p, r, n->iface);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue