1 2 3 4 5 6 7 8 9 10
#!/bin/sh patch --ignore-whitespace --forward main.c <<"_EOF" 185,186c185,186 < {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