+ another ifdef around netpfga / tables

This commit is contained in:
Nico Schottelius 2019-07-25 14:56:01 +02:00
parent 1ddd745731
commit 5b306a4cb5
1 changed files with 7 additions and 2 deletions

View File

@ -189,8 +189,13 @@ action nat46_icmp_generic()
controller_debug_table_id; controller_debug_table_id;
NoAction; NoAction;
} }
size = NAT64_TABLE_SIZE; size = NAT64_TABLE_SIZE;
default_action = controller_debug_table_id(TABLE_NAT46); #ifndef _SUME_SWITCH_P4_
default_action = controller_debug_table_id(TABLE_NAT46);
#else
default_action = controller_debug;
#endif
} }
#endif #endif