vswitchd/bridge: Fix setting default prefix fields.
authorJarno Rajahalme <jrajahalme@nicira.com>
Mon, 21 Jul 2014 21:34:02 +0000 (14:34 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Mon, 21 Jul 2014 21:34:02 +0000 (14:34 -0700)
commit480cda3a4a7b310fceb134e94d2f9a5668d27f2b
tree243d50996776d3d486820a8fc66ed125618106ed
parent3e0b991ef5c76ff43214308b80ae5bbabf4ccf88
vswitchd/bridge: Fix setting default prefix fields.

The check for the need of default values was in the wrong place,
causing no prefix tracking to be used when database had no
configuration for a flow table.  Missing configuration means that
defaults should be used.

To limit clutter on the log, we now log the prefix tracking
configuration when it is explicitly set in the database.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
vswitchd/bridge.c