Browse Source

modules: ffho_net: Fix "logic typo" in batman interfaces generation.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 6 years ago
parent
commit
4f515b2be6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      _modules/ffho_net.py

+ 1 - 1
_modules/ffho_net.py

@@ -536,7 +536,7 @@ def _generate_batman_interface_config (node_config, ifaces, sites_config):
 				}
 
 		elif iface_type == 'batman_iface':
-			batman_ifaces = ifaces[bat_site_if]['batman-ifaces']
+			batman_ifaces = ifaces[batman_site_if]['batman-ifaces']
 			if iface not in batman_ifaces:
 				if type (batman_ifaces) == list:
 					batman_ifaces.append (iface)