Browse Source

modules/ffho_net: Remove 'has_gateway' and 'tagged_vlans' from interfaces

  Those new parameters are set by NACL and should not be printed into the
  configuration file.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 5 years ago
parent
commit
31338f7e57
1 changed files with 1 additions and 1 deletions
  1. 1 1
      _modules/ffho_net.py

+ 1 - 1
_modules/ffho_net.py

@@ -828,7 +828,7 @@ def get_interface_config (node_config, sites_config, node_id = ""):
 			# or set the default, when no automtu is present.
 			config['mtu'] = config.get ('automtu', MTU['default'])
 
-		for key in [ 'automtu', 'batman_connect_sites', 'ospf', 'site', 'type' ]:
+		for key in [ 'automtu', 'batman_connect_sites', 'has_gateway', 'ospf', 'site', 'type', 'tagged_vlans' ]:
 			if key in config:
 				config.pop (key)
 	# This leaves 'auto', 'prefixes' and 'desc' as keys which should not be directly