tap: Set the MTU on the TUN deivce 02/32402/2
authorNeale Ranns <neale@graphiant.com>
Thu, 20 May 2021 16:09:40 +0000 (16:09 +0000)
committerMohsin Kazmi <sykazmi@cisco.com>
Thu, 8 Jul 2021 15:52:46 +0000 (15:52 +0000)
commit0cc23b7dde261390b0ffa7a5ba2d11603b40eafa
tree722360048b4aa9f7e247396c2008b4e66650d69c
parent647acd5eb4e3ff13e75fa712c3685694d2524fa6
tap: Set the MTU on the TUN deivce

Type: fix

For a TAP device the MTU is set via the ethernet_register for TUN we
need to do it explicitly (like we do for other tunnel types).

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: Ie6a13c795acb35b53f8d99b05c70c3e73a7b428e
src/vnet/devices/tap/tap.c