learning-switch: Use "if"s instead of "switch" to reduce maintenance.
authorBen Pfaff <blp@ovn.org>
Mon, 18 Jan 2016 22:49:47 +0000 (14:49 -0800)
committerBen Pfaff <blp@ovn.org>
Wed, 20 Jan 2016 06:50:26 +0000 (22:50 -0800)
commit33fa5fe5819b00b7e57b95405ccf9a2e8a4cd258
treee975f62081268db7c4bdaf338f4781b7921caf4c
parent63eded989e13464bcc7a62ffae54467e5bebaebf
learning-switch: Use "if"s instead of "switch" to reduce maintenance.

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 <blp@ovn.org>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
lib/learning-switch.c