Code Review
/
csit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c5eff5d3ca4c4204d73a60cee6443bdcd856dbe5
[csit.git]
/
resources
/
libraries
/
bash
/
entry
/
patch_l3fwd_flip_routes
1
#!/bin/sh
2
3
patch --ignore-whitespace --forward main.c <<"_EOF"
4
204,205c204,205
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