X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Fentry%2Fpatch_l3fwd_flip_routes;h=3b35e1f930ad03271516cdc9b2883afc2db650dc;hb=afc47d48f53dddb35817e3c65626f9c0f7173c39;hp=e0b204eb9c6ee123dc3b0c2c4726940b2ab25878;hpb=54beb458703ff91e9f522f8af0a57722966f093e;p=csit.git diff --git a/resources/libraries/bash/entry/patch_l3fwd_flip_routes b/resources/libraries/bash/entry/patch_l3fwd_flip_routes index e0b204eb9c..3b35e1f930 100755 --- a/resources/libraries/bash/entry/patch_l3fwd_flip_routes +++ b/resources/libraries/bash/entry/patch_l3fwd_flip_routes @@ -1,10 +1,10 @@ #!/bin/sh -patch --ignore-whitespace l3fwd_lpm.c <<"_EOF" +patch --ignore-whitespace --forward l3fwd_lpm.c <<"_EOF" 44,45c44,45 -< {IPv4(1, 1, 1, 0), 24, 0}, -< {IPv4(2, 1, 1, 0), 24, 1}, +< {RTE_IPV4(198, 18, 0, 0), 24, 0}, +< {RTE_IPV4(198, 18, 1, 0), 24, 1}, --- -> {IPv4(1, 1, 1, 0), 24, 1}, -> {IPv4(2, 1, 1, 0), 24, 0}, +> {RTE_IPV4(198, 18, 0, 0), 24, 1}, +> {RTE_IPV4(198, 18, 1, 0), 24, 0}, _EOF