ethernet: all dmac checks include secondary addrs 25/23525/2
authorMatthew Smith <mgsmith@netgate.com>
Mon, 18 Nov 2019 15:35:24 +0000 (09:35 -0600)
committerDamjan Marion <dmarion@me.com>
Tue, 26 Nov 2019 09:36:56 +0000 (09:36 +0000)
commit42bde459b66f100adc77787ba1afd14c004c846d
tree6119a1d3b2c3e902f819c157f17fdaa3d9f92838
parent9db6ada779794779158163f6293b479ae7f6ad5e
ethernet: all dmac checks include secondary addrs

Type: feature

In ethernet_input_inline(), when verifying that the destination
mac address on a received packet matches the mac address of the
interface where the packet was received, check the secondary
addresses on the interface if the primary address does not match.

This was done previously for eth_input_single_int().

Change-Id: I45716184dd789d83852271f9c79cedf5f6cbf75b
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/vnet/ethernet/node.c