diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-04-28 00:39:57 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-04-28 00:39:57 +0200 |
commit | ba321706578de8402d50214a9e79a65835cdd821 (patch) | |
tree | a76b5e241ed7f7c698890f2f9fd26a3c35ed07b2 /proto/ospf | |
parent | 48b0814ace2d05f9fef093d9f309bfa186a6f365 (diff) | |
download | bird-ba321706578de8402d50214a9e79a65835cdd821.tar bird-ba321706578de8402d50214a9e79a65835cdd821.zip |
Better support for /31 networks.
Diffstat (limited to 'proto/ospf')
-rw-r--r-- | proto/ospf/iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index b5a509a..6faed3a 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -361,7 +361,7 @@ ospf_iface_sm(struct ospf_iface *ifa, int event) u8 ospf_iface_clasify(struct iface *ifa, struct ifa *addr) { - if (addr->flags & IA_UNNUMBERED) + if (ipa_nonzero(addr->opposite)) return OSPF_IT_PTP; if ((ifa->flags & (IF_MULTIACCESS | IF_MULTICAST)) == |