aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash/entry/patch_l3fwd_flip_routes
blob: 3b35e1f930ad03271516cdc9b2883afc2db650dc (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

patch --ignore-whitespace --forward l3fwd_lpm.c <<"_EOF"
44,45c44,45
<       {RTE_IPV4(198, 18, 0, 0), 24, 0},
<       {RTE_IPV4(198, 18, 1, 0), 24, 1},
---
>       {RTE_IPV4(198, 18, 0, 0), 24, 1},
>       {RTE_IPV4(198, 18, 1, 0), 24, 0},
_EOF