nat: move deterministic nat to det44 sub feature
[vpp.git] / src / plugins / nat / in2out.c
index fe81b02..3995725 100644 (file)
@@ -789,8 +789,7 @@ icmp_in2out (snat_main_t * sm,
 
   if (vnet_buffer (b0)->sw_if_index[VLIB_TX] == ~0)
     {
-      if (sm->deterministic ||
-         0 != snat_icmp_hairpinning (sm, b0, ip0, icmp0,
+      if (0 != snat_icmp_hairpinning (sm, b0, ip0, icmp0,
                                      sm->endpoint_dependent))
        vnet_buffer (b0)->sw_if_index[VLIB_TX] = fib_index;
     }