Support running carp(4) over a vlan(4) parent interface.
Encouraged by: glebius
This commit is contained in:
parent
9944ed62ba
commit
630481bb92
@ -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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user