aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2020-05-12 13:39:57 +0000
committerPeter Mikus <pmikus@cisco.com>2020-05-12 13:40:56 +0000
commit157a5f2da7c80cf9ebea77c58ec8095e9b3333c9 (patch)
tree8f7150798cf90a114c0c9b4715b4c6725d31b658 /resources
parent590af9aafe637530916d173eae9053a75b498212 (diff)
FIX: L3fwd properly
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ibdfc0350a101c4815f25456176e25bb1d90fd881
Diffstat (limited to 'resources')
-rwxr-xr-xresources/libraries/bash/entry/patch_l3fwd_flip_routes8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/libraries/bash/entry/patch_l3fwd_flip_routes b/resources/libraries/bash/entry/patch_l3fwd_flip_routes
index e0b204eb9c..c1fb0d93b3 100755
--- a/resources/libraries/bash/entry/patch_l3fwd_flip_routes
+++ b/resources/libraries/bash/entry/patch_l3fwd_flip_routes
@@ -2,9 +2,9 @@
patch --ignore-whitespace l3fwd_lpm.c <<"_EOF"
44,45c44,45
-< {IPv4(1, 1, 1, 0), 24, 0},
-< {IPv4(2, 1, 1, 0), 24, 1},
+< {RTE_IPV4(198, 18, 0, 0), 24, 0},
+< {RTE_IPV4(198, 18, 1, 0), 24, 1},
---
-> {IPv4(1, 1, 1, 0), 24, 1},
-> {IPv4(2, 1, 1, 0), 24, 0},
+> {RTE_IPV4(198, 18, 0, 0), 24, 1},
+> {RTE_IPV4(198, 18, 1, 0), 24, 0},
_EOF