diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2015-12-21 17:17:21 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2015-12-21 17:17:21 +0100 |
commit | 0bf95f99e6126b481a4dcac574ada59f9ad3662b (patch) | |
tree | 8b8d229fbd4dbd21a9aa14d762ed0b11753437a8 /proto/ospf/iface.c | |
parent | 23c212e7f1e80a3c6b88b49918972bc28375bd51 (diff) |
Follow-up work on integration
Contains some patches from Jan Moskyto Matejka
Diffstat (limited to 'proto/ospf/iface.c')
-rw-r--r-- | proto/ospf/iface.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index 91e22266..442cec3a 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -525,15 +525,6 @@ ospf_iface_stubby(struct ospf_iface_patt *ip, struct ifa *addr) if (addr->iface->flags & IF_LOOPBACK) return 1; - /* - * For compatibility reasons on BSD systems, we force OSPF - * interfaces with non-primary IP prefixes to be stub. - */ -#if defined(OSPFv2) && !defined(CONFIG_MC_PROPER_SRC) - if (!ip->bsd_secondary && !(addr->flags & IA_PRIMARY)) - return 1; -#endif - return ip->stub; } |