diff options
author | Klement Sekera <ksekera@cisco.com> | 2020-05-13 12:34:21 +0000 |
---|---|---|
committer | Klement Sekera <ksekera@cisco.com> | 2020-05-13 12:34:21 +0000 |
commit | a9f7bf8b0da4e31645d315150e646f47e89c7a17 (patch) | |
tree | 70d30147a83e8be9f630c6473639468b9217f72b | |
parent | a3a830484fa6b6487f7f3d991a52cb6b090a8be8 (diff) |
nat: fix broken build
Type: fix
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: I2a70db3a25450e014adaed84989f4da9bb77b14d
-rw-r--r-- | src/plugins/nat/nat44_classify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nat/nat44_classify.c b/src/plugins/nat/nat44_classify.c index 9adef3ba64a..5ff55790dc9 100644 --- a/src/plugins/nat/nat44_classify.c +++ b/src/plugins/nat/nat44_classify.c @@ -264,7 +264,7 @@ nat44_handoff_classify_node_fn_inline (vlib_main_t * vm, } m_key0.port = clib_net_to_host_u16 (vnet_buffer (b0)->ip.reass.l4_dst_port); - m_key0.protocol = ip_proto_to_snat_proto (ip0->protocol); + m_key0.protocol = ip_proto_to_nat_proto (ip0->protocol); kv0.key = m_key0.as_u64; if (!clib_bihash_search_8_8 (&sm->static_mapping_by_external, &kv0, &value0)) |