Browse Source

nftables: Fix service rule comment generation

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 2 years ago
parent
commit
8225c84172
1 changed files with 1 additions and 0 deletions
  1. 1 0
      _modules/ffho_netfilter.py

+ 1 - 0
_modules/ffho_netfilter.py

@@ -10,6 +10,7 @@ def generate_service_rules (services, acls, af):
 	for srv in services:
 		rule = ""
 		comment = srv['descr']
+		acl_comment = ""
 		src_prefixes = []
 
 		# If there are no DST IPs set at all or DST IPs for this AF set, we have a rule to build,