]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: fix prefix length in nhrp_redundancy
authorLouis Scalbert <louis.scalbert@6wind.com>
Fri, 30 Aug 2024 11:54:36 +0000 (13:54 +0200)
committerLouis Scalbert <louis.scalbert@6wind.com>
Fri, 30 Aug 2024 14:22:57 +0000 (16:22 +0200)
The expected prefix should be 5.5.5.0/24 otherwise the hosts behind NHRP
client 1 nhc1 (aka. r5) are not reachable via NHRP.

The issue was not seen in the FRR official CI because the tests were
skipped because iptables were missing in CI machines.

It solves the 16690 issue.

Fixes: https://github.com/FRRouting/frr/issues/16690
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
tests/topotests/nhrp_redundancy/r4/nhrp_route_shortcut.json

index f8efff2059e44af9ad5e5927412a79dbd91934b2..835dfd6b0f5f7d648f2e7a5a753280bc84fe1935 100644 (file)
@@ -1,7 +1,7 @@
 {
-    "5.5.5.5\/32": [
+    "5.5.5.0\/24": [
         {
-            "prefix": "5.5.5.5\/32",
+            "prefix": "5.5.5.0\/24",
             "protocol": "nhrp",
             "vrfId": 0,
             "vrfName": "default",