summaryrefslogtreecommitdiff
path: root/src/migration-scripts/firewall
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2024-01-02 18:21:30 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-02 19:13:50 +0000
commit7b086968c517050ec0e27c6d35606d7ba8a5f2d4 (patch)
tree152947798b3ac0e782e08d768fbe89b34f2eff4b /src/migration-scripts/firewall
parentbd0bf3552542965eef2f4e5129d7703798a09e71 (diff)
downloadvyos-1x-7b086968c517050ec0e27c6d35606d7ba8a5f2d4.tar.gz
vyos-1x-7b086968c517050ec0e27c6d35606d7ba8a5f2d4.zip
T5888: fix migration script in order to fit new type-names for icmp and icmpv6.
(cherry picked from commit 1ccb3e634d45d0d1a8e190297cc0a310cb0069d6)
Diffstat (limited to 'src/migration-scripts/firewall')
-rwxr-xr-xsrc/migration-scripts/firewall/6-to-79
1 files changed, 8 insertions, 1 deletions
diff --git a/src/migration-scripts/firewall/6-to-7 b/src/migration-scripts/firewall/6-to-7
index 9ad887acc..b918833e9 100755
--- a/src/migration-scripts/firewall/6-to-7
+++ b/src/migration-scripts/firewall/6-to-7
@@ -73,6 +73,7 @@ icmp_translations = {
# Time Exceeded
'ttl-zero-during-transit': [11, 0],
'ttl-zero-during-reassembly': [11, 1],
+ 'ttl-exceeded': 'time-exceeded',
# Parameter Problem
'ip-header-bad': [12, 0],
'required-option-missing': [12, 1]
@@ -87,8 +88,14 @@ icmpv6_translations = {
'communication-prohibited': [1, 1],
'address-unreachble': [1, 3],
'port-unreachable': [1, 4],
- # Redirect
+ # nd
'redirect': 'nd-redirect',
+ 'router-solicitation': 'nd-router-solicit',
+ 'router-advertisement': 'nd-router-advert',
+ 'neighbour-solicitation': 'nd-neighbor-solicit',
+ 'neighbor-solicitation': 'nd-neighbor-solicit',
+ 'neighbour-advertisement': 'nd-neighbor-advert',
+ 'neighbor-advertisement': 'nd-neighbor-advert',
# Time Exceeded
'ttl-zero-during-transit': [3, 0],
'ttl-zero-during-reassembly': [3, 1],