Explorar o código

nftables: Fix service rule comment generation

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm %!s(int64=2) %!d(string=hai) anos
pai
achega
8225c84172
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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,