aboutsummaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2006-07-26 09:41:04 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2006-07-26 09:41:04 +0000
commite61a82f3e3472e6a9339161002e3160e9d5129e9 (patch)
treede860cbb6753d3edf7529b73210d402390c0fb18 /sys/net
parent1aeafe6572dd430a0c07ebd75faa7413e4e4a584 (diff)
downloadsrc-e61a82f3e3472e6a9339161002e3160e9d5129e9.tar.gz
src-e61a82f3e3472e6a9339161002e3160e9d5129e9.zip
Remove variables that are overridden by ether_ifattach(). This clears up any
confusion especially as *if_output was pointed to a different function.
Notes
Notes: svn path=/head/; revision=160702
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_bridge.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
index 097df3c88f57..62f896c75ec6 100644
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -488,17 +488,14 @@ bridge_clone_create(struct if_clone *ifc, int unit, caddr_t params)
ifp->if_softc = sc;
if_initname(ifp, ifc->ifc_name, unit);
- ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_MULTICAST;
ifp->if_ioctl = bridge_ioctl;
- ifp->if_output = bridge_output;
ifp->if_start = bridge_start;
ifp->if_init = bridge_init;
ifp->if_type = IFT_BRIDGE;
IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen);
ifp->if_snd.ifq_drv_maxlen = ifqmaxlen;
IFQ_SET_READY(&ifp->if_snd);
- ifp->if_hdrlen = ETHER_HDR_LEN;
/*
* Generate a random ethernet address with a locally administered