summaryrefslogtreecommitdiff
path: root/sys/net/ethertypes.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2014-11-06 14:28:48 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2014-11-06 14:28:48 +0000
commit9e718c1edad1d11d195c363385d5e91c27c7199c (patch)
treeec05e5569bcd8c0cabeb83349b497c41008fedcc /sys/net/ethertypes.h
parentc1b86de53cd1091d9e9e6f489f01d9c1d0eef190 (diff)
fix mac address selection with unnumbered carpdevs
IP-traffic over a carp interface with the underlaying carpdev being unnumbered (in the numbered case usually the ifp is the carpdev to begin with) went out with the carpdev's mac address istead of the carp interface's one due to a carp hack in ether_output exchanging the carp ifp for its carpdev ones one. move the source mac selection to before that. fixes unnumbered carp use in environments with strict mac address regimes like some exchange points. issue found by your's truly the hard way. ok mpi dlg
Diffstat (limited to 'sys/net/ethertypes.h')
0 files changed, 0 insertions, 0 deletions