diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2014-11-03 20:35:25 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2014-11-03 20:35:25 +0100 |
commit | ac9dc669d80cbfeea3d0cdba5ec7354c804b1ae9 (patch) | |
tree | 7967ecb93efbd2e76de587a05f26348ca7753bf1 /proto/ospf/topology.c | |
parent | cd3b700393144796c9dead54b6ac2fc31aaa5272 (diff) |
Bugfix in latest OSPF changes.
Diffstat (limited to 'proto/ospf/topology.c')
-rw-r--r-- | proto/ospf/topology.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index c21c23d5..0613d34d 100644 --- a/proto/ospf/topology.c +++ b/proto/ospf/topology.c @@ -1177,9 +1177,7 @@ use_gw_for_fwaddr(struct ospf_proto *p, ip_addr gw, struct iface *iface) WALK_LIST(ifa, p->iface_list) if ((ifa->iface == iface) && - ((ifa->type == OSPF_IT_BCAST) || (ifa->type == OSPF_IT_NBMA)) && - (!ospf_is_v2(p) || ipa_in_net(gw, ifa->addr->prefix, ifa->addr->pxlen)) && - (!ifa->cf->stub)) + (!ospf_is_v2(p) || ipa_in_net(gw, ifa->addr->prefix, ifa->addr->pxlen))) return 1; return 0; |