Pass libnftables.so.1 path into python script
This commit is contained in:
parent
ea11e41005
commit
03719f5bf8
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue