diff options
Diffstat (limited to 'proto')
-rw-r--r-- | proto/ospf/iface.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index 6e3a48b3..feff0f43 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -524,6 +524,10 @@ add_nbma_node(struct ospf_iface *ifa, struct nbma_node *src, int found) static int ospf_iface_stubby(struct ospf_iface_patt *ip, struct ifa *addr) { + /* vlink cannot be stub */ + if (ip->type == OSPF_IT_VLINK) + return 0; + /* a host address */ if (addr->flags & IA_HOST) return 1; |