Code Review
/
csit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
23a6675145067acc2e53cf0ef61b711d380d5ed6
[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