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