mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
14 lines
612 B
Plaintext
14 lines
612 B
Plaintext
|
diff -urb work.ref/gated-3-5-10/src/ospf_rt.c work/gated-3-5-10/src/ospf_rt.c
|
||
|
--- src/ospf_rt.c Tue Aug 18 20:08:47 1998
|
||
|
+++ src/ospf_rt.c Tue Jul 20 15:10:21 1999
|
||
|
@@ -1124,7 +1124,8 @@
|
||
|
/* Ignore pseudo interface routes and interfaces running OSPF */
|
||
|
if (BIT_TEST(new_rt->rt_state, RTS_NOTINSTALL) ||
|
||
|
IF_INTF(RT_IFAP(new_rt)) ||
|
||
|
- BIT_TEST(RT_IFAP(new_rt)->ifa_state, IFS_LOOPBACK)) {
|
||
|
+ (BIT_TEST(RT_IFAP(new_rt)->ifa_state, IFS_LOOPBACK)
|
||
|
+ && BIT_TEST(inet_class_flags(RT_IFAP(new_rt)->ifa_addr_local), INET_CLASSF_LOOPBACK))) {
|
||
|
new_rt = (rt_entry *) 0;
|
||
|
}
|
||
|
break;
|