Pass libnftables.so.1 path into python script

This commit is contained in:
fi 2024-11-20 05:46:40 +01:00
parent 93924044c4
commit 0f3e7771a5
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ def main():
wg_interface = config["wg_interface"]
pubkey_port_mapping = config["pubkey_port_mapping"]
nft = nftables.Nftables()
nft = nftables.Nftables(sys.argv[2] + "/libnftables.so.1")
nft.set_json_output(True)
nft.set_handle_output(True)