This commit is contained in:
@@ -404,7 +404,6 @@ def nft_list_rules(table: str = DEFAULT_TABLE, chain: str = DEFAULT_CHAIN) -> Di
|
||||
add_command = f"add rule {table_name} {chain_name} {nft_rule_text}".strip() if nft_rule_text else None
|
||||
logger.debug("Attached textual rule for handle %s", handle)
|
||||
else:
|
||||
# If mapping missing, per your instruction do not attempt to reconstruct — leave textual fields None
|
||||
logger.debug("No textual mapping for handle %s — textual fields will be None", handle)
|
||||
|
||||
results.append({
|
||||
|
||||
Reference in New Issue
Block a user