0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

Small change to stop using loopback.

This commit is contained in:
Ondrej Filip 1999-04-13 00:46:34 +00:00
parent cb2e8c4970
commit 24eaae9e5d

View File

@ -66,6 +66,7 @@ ospf_open_socket(struct proto *p, struct ospf_iface *ifa)
DBG(" OSPF: SK_OPEN: failed\n");
return(NULL);
}
DBG(" OSPF: SK_OPEN: open\n");
return(mcsk);
}
else return(NULL);
@ -78,7 +79,11 @@ ospf_open_socket(struct proto *p, struct ospf_iface *ifa)
int
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 */