mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-03-22 06:17:04 +00:00
Small change to stop using loopback.
This commit is contained in:
parent
cb2e8c4970
commit
24eaae9e5d
@ -66,6 +66,7 @@ ospf_open_socket(struct proto *p, struct ospf_iface *ifa)
|
|||||||
DBG(" OSPF: SK_OPEN: failed\n");
|
DBG(" OSPF: SK_OPEN: failed\n");
|
||||||
return(NULL);
|
return(NULL);
|
||||||
}
|
}
|
||||||
|
DBG(" OSPF: SK_OPEN: open\n");
|
||||||
return(mcsk);
|
return(mcsk);
|
||||||
}
|
}
|
||||||
else return(NULL);
|
else return(NULL);
|
||||||
@ -78,7 +79,11 @@ ospf_open_socket(struct proto *p, struct ospf_iface *ifa)
|
|||||||
int
|
int
|
||||||
is_good_iface(struct proto *p, struct iface *iface)
|
is_good_iface(struct proto *p, struct iface *iface)
|
||||||
{
|
{
|
||||||
return(iface->flags & IF_UP);
|
if(iface->flags & IF_UP)
|
||||||
|
{
|
||||||
|
if(!(iface->flags & IF_IGNORE)) return 1;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Of course, it's NOT true now */
|
/* Of course, it's NOT true now */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user