diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-10-17 21:42:20 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-10-17 21:42:20 +0200 |
| commit | 514bd888a645667fdc2990b2e075a5e22f6e61bb (patch) | |
| tree | ab20bcbd34d0c061ffe9983db0d4609e0a72d0fb /src/migration-scripts | |
| parent | 65818514e6a520a264d54a5bb61390f34505a1dc (diff) | |
| download | vyos-1x-514bd888a645667fdc2990b2e075a5e22f6e61bb.tar.gz vyos-1x-514bd888a645667fdc2990b2e075a5e22f6e61bb.zip | |
firewall: T9474: rebuild filter tables when rule file and table drift apart
The generated ruleset only deleted the existing tables when the rule file in
/run was present. If the file and the loaded tables drifted apart, e.g. a
table was removed while the file stayed, the delete failed and every
following commit failed with it.
The tables are now declared right before they are deleted, so the delete
succeeds whether or not the table exists and each commit rebuilds them from
scratch.
Diffstat (limited to 'src/migration-scripts')
0 files changed, 0 insertions, 0 deletions
