diff options
| author | Andrew Thompson <thompsa@FreeBSD.org> | 2007-04-17 00:35:11 +0000 |
|---|---|---|
| committer | Andrew Thompson <thompsa@FreeBSD.org> | 2007-04-17 00:35:11 +0000 |
| commit | 18242d3b09dbc3f5e278e39baaa3c3b76624c901 (patch) | |
| tree | 5ab1db16648abde2519f28c871592804af2cc1d6 /sys/net/if_ethersubr.c | |
| parent | 5941f0355c3eaaa03032e0d8511c9a35ba14cd15 (diff) | |
Notes
Diffstat (limited to 'sys/net/if_ethersubr.c')
| -rw-r--r-- | sys/net/if_ethersubr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 0ebdc569bc4f..acf0846e6668 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -113,8 +113,8 @@ int (*bridge_output_p)(struct ifnet *, struct mbuf *, struct sockaddr *, struct rtentry *); void (*bridge_dn_p)(struct mbuf *, struct ifnet *); -/* if_trunk(4) support */ -struct mbuf *(*trunk_input_p)(struct ifnet *, struct mbuf *); +/* if_lagg(4) support */ +struct mbuf *(*lagg_input_p)(struct ifnet *, struct mbuf *); static const u_char etherbroadcastaddr[ETHER_ADDR_LEN] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; @@ -605,11 +605,11 @@ ether_input(struct ifnet *ifp, struct mbuf *m) return; } - /* Handle input from a trunk(4) port */ + /* Handle input from a lagg(4) port */ if (ifp->if_type == IFT_IEEE8023ADLAG) { - KASSERT(trunk_input_p != NULL, - ("%s: if_trunk not loaded!", __func__)); - m = (*trunk_input_p)(ifp, m); + KASSERT(lagg_input_p != NULL, + ("%s: if_lagg not loaded!", __func__)); + m = (*lagg_input_p)(ifp, m); if (m != NULL) ifp = m->m_pkthdr.rcvif; else |
