diff options
author | yar <yar@FreeBSD.org> | 2005-02-28 16:19:11 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2005-02-28 16:19:11 +0000 |
commit | d792578421a938e85595e809a501e27abc73d796 (patch) | |
tree | bb4c5346cb302e229862b64ddf2e86872051cec7 | |
parent | b62f7499ab8c630062978fcbf970b1a65ad571f7 (diff) | |
download | FreeBSD-src-d792578421a938e85595e809a501e27abc73d796.zip FreeBSD-src-d792578421a938e85595e809a501e27abc73d796.tar.gz |
Support running carp(4) over a vlan(4) parent interface.
Encouraged by: glebius
-rw-r--r-- | sys/netinet/ip_carp.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 *); |