Minor bugfix - add interface routes.
This commit is contained in:
parent
28e8d862b7
commit
b37bb5ce03
1 changed files with 1 additions and 1 deletions
|
@ -933,7 +933,7 @@ again1:
|
||||||
a0.aflags = 0;
|
a0.aflags = 0;
|
||||||
a0.iface = nf->n.ifa;
|
a0.iface = nf->n.ifa;
|
||||||
a0.gw = nf->n.nh;
|
a0.gw = nf->n.nh;
|
||||||
if(!neigh_find(p, &nf->n.nh, 0))
|
if ((!ipa_equal(nf->n.nh, IPA_NONE)) && (!neigh_find(p, &nf->n.nh, 0)))
|
||||||
{
|
{
|
||||||
int found = 0;
|
int found = 0;
|
||||||
struct ospf_iface *ifa;
|
struct ospf_iface *ifa;
|
||||||
|
|
Loading…
Reference in a new issue