Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Allow IPSECSW on 2node testbeds
[csit.git]
/
resources
/
libraries
/
bash
/
entry
/
patch_l3fwd_flip_routes
diff --git
a/resources/libraries/bash/entry/patch_l3fwd_flip_routes
b/resources/libraries/bash/entry/patch_l3fwd_flip_routes
index
e0b204e
..
3b35e1f
100755
(executable)
--- a/
resources/libraries/bash/entry/patch_l3fwd_flip_routes
+++ b/
resources/libraries/bash/entry/patch_l3fwd_flip_routes
@@
-1,10
+1,10
@@
#!/bin/sh
#!/bin/sh
-patch --ignore-whitespace l3fwd_lpm.c <<"_EOF"
+patch --ignore-whitespace
--forward
l3fwd_lpm.c <<"_EOF"
44,45c44,45
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
_EOF