DPDK build: fix l3fwd build and update Meson opts
[csit.git] / resources / libraries / bash / entry / patch_l3fwd_flip_routes
1 #!/bin/sh
2
3 patch --ignore-whitespace --forward main.c <<"_EOF"
4 185,186c185,186
5 <       {RTE_IPV4(198, 18, 0, 0), 24, 0},
6 <       {RTE_IPV4(198, 18, 1, 0), 24, 1},
7 ---
8 >       {RTE_IPV4(198, 18, 0, 0), 24, 1},
9 >       {RTE_IPV4(198, 18, 1, 0), 24, 0},
10 _EOF