0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Minor bugfix - add interface routes.

This commit is contained in:
Ondrej Filip 2004-07-15 16:48:12 +00:00
parent 28e8d862b7
commit b37bb5ce03

View File

@ -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;