diff --git a/p4src/actions_nat64_generic.p4 b/p4src/actions_nat64_generic.p4 index 789b1fd..d697d88 100644 --- a/p4src/actions_nat64_generic.p4 +++ b/p4src/actions_nat64_generic.p4 @@ -189,8 +189,13 @@ action nat46_icmp_generic() controller_debug_table_id; NoAction; } - size = NAT64_TABLE_SIZE; - default_action = controller_debug_table_id(TABLE_NAT46); + size = NAT64_TABLE_SIZE; + #ifndef _SUME_SWITCH_P4_ + default_action = controller_debug_table_id(TABLE_NAT46); + #else + default_action = controller_debug; + #endif + } #endif \ No newline at end of file