Pass libnftables.so.1 path into python script
This commit is contained in:
parent
93924044c4
commit
0f3e7771a5
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