diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-02 18:50:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-02 18:50:42 +0200 |
commit | 92be9ee46943f38648daeb75da729a460daea9c9 (patch) | |
tree | b6ca67716ab8e6716f56d42557adc5b55a92cd80 /python/vyos/ifconfig | |
parent | 0cb21915164551b3d2eaab79ed6339184957c326 (diff) | |
parent | 33b031cc9005e51129719ff42d70bf50fb7f14e1 (diff) | |
download | vyos-1x-92be9ee46943f38648daeb75da729a460daea9c9.tar.gz vyos-1x-92be9ee46943f38648daeb75da729a460daea9c9.zip |
Merge pull request #3234 from vyos/mergify/bp/sagitta/pr-3230
firewall: nat: policy: vrf: nft call syntax and import cleanup (backport #3230)
Diffstat (limited to 'python/vyos/ifconfig')
-rw-r--r-- | python/vyos/ifconfig/interface.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/interface.py b/python/vyos/ifconfig/interface.py index 430a8dfc3..b159b2367 100644 --- a/python/vyos/ifconfig/interface.py +++ b/python/vyos/ifconfig/interface.py @@ -400,7 +400,7 @@ class Interface(Control): else: nft_del_element = f'delete element inet vrf_zones ct_iface_map {{ "{self.ifname}" }}' # Check if deleting is possible first to avoid raising errors - _, err = self._popen(f'nft -c {nft_del_element}') + _, err = self._popen(f'nft --check {nft_del_element}') if not err: # Remove map element self._cmd(f'nft {nft_del_element}') |