vnet: set frame overhead at interface registration 73/35773/4
authorMatthew Smith <mgsmith@netgate.com>
Wed, 23 Mar 2022 22:11:32 +0000 (22:11 +0000)
committerDamjan Marion <dmarion@me.com>
Tue, 29 Mar 2022 15:12:21 +0000 (15:12 +0000)
commitbf82a66de7653921e3c25ae444d372d2eddeee9f
tree6737ba94e3fa18ae4bc907ba2f1528cf7e68c7b1
parent720820e64bf733fa0742fdf93da1e21b41db45c5
vnet: set frame overhead at interface registration

Type: fix
Fixes: 1cd0e5dd533f

In vnet_eth_register_interface(), max frame size was being used where
frame overhead was intended.

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