summaryrefslogtreecommitdiffstats
path: root/sys/net/if_faith.c
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-01-09 04:35:39 +0000
committershin <shin@FreeBSD.org>2000-01-09 04:35:39 +0000
commit065887d0f76919e55fa3c9067f9407d33f47fd86 (patch)
tree1cfec9aa7b7be93d64756da49672184a8cd2d975 /sys/net/if_faith.c
parent8438c55b6ef50eba9ddb147eb1b5a83fcabfcf2e (diff)
downloadFreeBSD-src-065887d0f76919e55fa3c9067f9407d33f47fd86.zip
FreeBSD-src-065887d0f76919e55fa3c9067f9407d33f47fd86.tar.gz
Remove BROADCAST flag from faith interface,
-it not seems to be necessary -to avoid dhcp messages or something like that sent to faith interface The problem reported by: Jim Bloom <bloom@acm.org>
Diffstat (limited to 'sys/net/if_faith.c')
-rw-r--r--sys/net/if_faith.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_faith.c b/sys/net/if_faith.c
index 0e21af7..60e871c 100644
--- a/sys/net/if_faith.c
+++ b/sys/net/if_faith.c
@@ -82,8 +82,8 @@ faithattach(faith)
ifp->if_name = "faith";
ifp->if_unit = i;
ifp->if_mtu = FAITHMTU;
- /* Change to BROADCAST experimentaly to announce its prefix. */
- ifp->if_flags = /* IFF_LOOPBACK */ IFF_BROADCAST | IFF_MULTICAST;
+ /* LOOPBACK commented out to announce IPv6 routes to faith */
+ ifp->if_flags = /* IFF_LOOPBACK | */ IFF_MULTICAST;
ifp->if_ioctl = loioctl;
ifp->if_output = looutput;
ifp->if_type = IFT_FAITH;
OpenPOWER on IntegriCloud