From d792578421a938e85595e809a501e27abc73d796 Mon Sep 17 00:00:00 2001 From: yar Date: Mon, 28 Feb 2005 16:19:11 +0000 Subject: Support running carp(4) over a vlan(4) parent interface. Encouraged by: glebius --- sys/netinet/ip_carp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/netinet') diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index b8967b1..14a9880 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -1900,7 +1900,8 @@ carp_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *sa, /* Set the source MAC address to Virtual Router MAC Address */ switch (ifp->if_type) { - case IFT_ETHER: { + case IFT_ETHER: + case IFT_L2VLAN: { struct ether_header *eh; eh = mtod(m, struct ether_header *); -- cgit v1.1