add handke output
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 8s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 8s
This commit is contained in:
@@ -268,7 +268,7 @@ def build_handle_text_map(family: str, table: str, chain: str) -> Dict[int, str]
|
||||
If the textual output cannot be retrieved, raises HTTPException.
|
||||
"""
|
||||
ensure_nft_available()
|
||||
cmd = [NFT_BIN, "list", "chain", family, table, chain]
|
||||
cmd = [NFT_BIN, "--handle", "list", "chain", family, table, chain]
|
||||
logger.debug("Listing chain text: %s", " ".join(cmd))
|
||||
try:
|
||||
out = subprocess.check_output(cmd, stderr=subprocess.PIPE).decode()
|
||||
|
||||
Reference in New Issue
Block a user