f-21: debug: make mtu parametrable in full netif
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
6b104c4784
commit
71aaaacf7b
2 changed files with 3 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ func CreateSubnet(db *badger.DB, subnetName string) error {
|
|||
}
|
||||
|
||||
// vxlan
|
||||
if err := netif.CreateVxlan(vxlanIface, vxlanID, localIface); err != nil {
|
||||
if err := netif.CreateVxlan(vxlanIface, vxlanID, localIface, 1500); err != nil {
|
||||
return fmt.Errorf("create vxlan: %w", err)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue