diff options
author | Matthew Smith <mgsmith@netgate.com> | 2020-08-31 14:55:17 -0500 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-09-09 19:45:26 +0000 |
commit | adf2fe0def59772be3ef5767f8ff90f7f7f9ce56 (patch) | |
tree | e41aba114f8b20041fd47cf8e03b58604ba520ce /test/scapy_handlers | |
parent | 97158289bcfeb5efe8a2dc7448b94cb954535ab6 (diff) |
l2: check secondary macs on BVI interface
Type: fix
VRRP cannot be used on a BVI interface currently because packets sent
to the virtual mac address of the VR fail the destination mac check in
l2_to_bvi().
Apparently people want to use VRRP on BVI interfaces, so update the
check in l2_to_bvi() so that it will check any secondary mac addresses
which have been added to the ethernet interface if the destination mac
address does not match the primary mac address for the interface.
An equivalent check is already done in ethernet_input_inline() for L3
interfaces which are in promiscuous mode.
Change-Id: I7c5bf624dafda8744fea236c704e8e17e5f53b35
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'test/scapy_handlers')
0 files changed, 0 insertions, 0 deletions