diff options
author | Filip Varga <fivarga@cisco.com> | 2020-03-11 12:49:46 +0100 |
---|---|---|
committer | Filip Varga <fivarga@cisco.com> | 2020-03-11 17:41:40 +0100 |
commit | f2833e42c1e3721ce06b0f510447d8a6dd3e5eb4 (patch) | |
tree | b1a6711d4958b9cca4a1ded5b4b94742225e1562 /src/plugins/nat/dslite/dslite_ce_encap.c | |
parent | 92a6ac24f36dcc7e22682c0ce448cefc23d58e5e (diff) |
nat: dslite plugin separation
Type: refactor
Signed-off-by: Filip Varga <fivarga@cisco.com>
Change-Id: I81546423200cc7f8a06b527dac8ead191a9e0519
Diffstat (limited to 'src/plugins/nat/dslite/dslite_ce_encap.c')
-rw-r--r-- | src/plugins/nat/dslite/dslite_ce_encap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/nat/dslite/dslite_ce_encap.c b/src/plugins/nat/dslite/dslite_ce_encap.c index 8cec5439243..74b5bc39fbe 100644 --- a/src/plugins/nat/dslite/dslite_ce_encap.c +++ b/src/plugins/nat/dslite/dslite_ce_encap.c @@ -13,7 +13,6 @@ * limitations under the License. */ #include <nat/dslite/dslite.h> -#include <nat/nat_inlines.h> typedef enum { @@ -66,7 +65,7 @@ VLIB_NODE_FN (dslite_ce_encap_node) (vlib_main_t * vm, b0 = vlib_get_buffer (vm, bi0); ip40 = vlib_buffer_get_current (b0); - proto0 = ip_proto_to_snat_proto (ip40->protocol); + proto0 = ip_proto_to_nat_proto (ip40->protocol); if (PREDICT_FALSE (proto0 == ~0)) { |