aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dpdk/dpdk_scripts/patch_l3fwd_flip_routes
blob: e0b204eb9c6ee123dc3b0c2c4726940b2ab25878 (plain)
1
2
3
4
5
6
7
8
9
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