Refactor DPDK testcases to new structure
[csit.git] / tests / dpdk / dpdk_scripts / patch_l3fwd_flip_routes
diff --git a/tests/dpdk/dpdk_scripts/patch_l3fwd_flip_routes b/tests/dpdk/dpdk_scripts/patch_l3fwd_flip_routes
new file mode 100755 (executable)
index 0000000..e0b204e
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+patch --ignore-whitespace l3fwd_lpm.c <<"_EOF"
+44,45c44,45
+<       {IPv4(1, 1, 1, 0), 24, 0},
+<       {IPv4(2, 1, 1, 0), 24, 1},
+---
+>       {IPv4(1, 1, 1, 0), 24, 1},
+>       {IPv4(2, 1, 1, 0), 24, 0},
+_EOF