Commit c72aca41 authored by Ondřej Zajíček's avatar Ondřej Zajíček

OSPF ifaces on loopback should be stub.

parent e4d179f2
......@@ -472,10 +472,14 @@ ospf_iface_stubby(struct ospf_iface_patt *ip, struct ifa *addr)
if (! addr)
return 0;
/* a host/loopback address */
/* a host address */
if (addr->flags & IA_HOST)
return 1;
/* a loopback iface */
if (addr->iface->flags & IF_LOOPBACK)
return 1;
* We cannot properly support multiple OSPF ifaces on real iface
* with multiple prefixes, therefore we force OSPF ifaces with
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment