Re: [ovs-dev] [PATCH 02/41] learning-switch: Use "if"s instead of "switch" to reduce maintenance.

2016-01-19 Thread Jarno Rajahalme
Acked-by: Jarno Rajahalme > On Jan 18, 2016, at 11:26 PM, Ben Pfaff wrote: > > This code only cares about a very few kinds of OpenFlow messages, and it's > unlikely that it will care about new ones, so replace the "switch" by "if" > statements so that GCC won't

[ovs-dev] [PATCH 02/41] learning-switch: Use "if"s instead of "switch" to reduce maintenance.

2016-01-18 Thread Ben Pfaff
This code only cares about a very few kinds of OpenFlow messages, and it's unlikely that it will care about new ones, so replace the "switch" by "if" statements so that GCC won't complain about every new message. Signed-off-by: Ben Pfaff --- lib/learning-switch.c | 99