diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-07-19 20:49:32 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-07-19 20:53:45 +0200 |
commit | 2975c5e835fd323ef5d47bebec27e4d08e04dd7a (patch) | |
tree | 7649223f3d4900b28e921c2a7aa44f5391c582c5 /src/migration-scripts/system/12-to-13 | |
parent | a2e708384f1e1136016ceb7c45494a9a3ddaeb49 (diff) | |
download | vyos-1x-2975c5e835fd323ef5d47bebec27e4d08e04dd7a.tar.gz vyos-1x-2975c5e835fd323ef5d47bebec27e4d08e04dd7a.zip |
vrf: T3655: fix potential error when removing VRF connection tracking table
This extends commit 22791e26 ("VRF: T3655: proper connection tracking for VRFs")
so that when the netfilter table is removed, we first check if it exists at all,
and if it does not exist we do not remove it.
This fixes the smoketest error:
PermissionError: [Errno 1] failed to run command: nft delete table inet vrf_zones
Diffstat (limited to 'src/migration-scripts/system/12-to-13')
0 files changed, 0 insertions, 0 deletions