Pārlūkot izejas kodu

Veth pairs which connect BATMAN instances should have BATMAN unterlay MTU.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 7 gadi atpakaļ
vecāks
revīzija
2005ad82c3
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      _modules/ffho_net.py

+ 2 - 0
_modules/ffho_net.py

@@ -362,6 +362,7 @@ def _generate_batman_interface_config (node_config, ifaces, sites_config):
 				'link-type' : 'veth',
 				'veth-peer-name' : ext2int_site_if,
 				'hwaddress' : gen_batman_iface_mac (site_no, device_no, 'int2ext'),
+				'mtu' : MTU['batman_underlay_iface'],
 				'ext_only' : True,
 			},
 
@@ -370,6 +371,7 @@ def _generate_batman_interface_config (node_config, ifaces, sites_config):
 				'link-type' : 'veth',
 				'veth-peer-name' : int2ext_site_if,
 				'hwaddress' : gen_batman_iface_mac (site_no, device_no, 'ext2int'),
+				'mtu' : MTU['batman_underlay_iface'],
 				'ext_only' : True,
 			},
 		}