vswitchd: Respect other_config:stp-enable port setting.
authorEthan Jackson <ethan@nicira.com>
Wed, 29 Aug 2012 23:00:31 +0000 (16:00 -0700)
committerEthan Jackson <ethan@nicira.com>
Wed, 29 Aug 2012 23:23:07 +0000 (16:23 -0700)
commit079b5942276a04b2b18f1ec5bd2e07170e3ab9bd
tree62ff23701e4c7ccee38b440e1af89ffe6040e626
parent1688c479753fa62843a15a5f0b7dc8dd9f6ead28
vswitchd: Respect other_config:stp-enable port setting.

Commit a699f614 (lib: Utilize smaps in the idl.) broke the
other_config:stp-enable port setting in two ways.  First, it
changed the default if the setting was missing to disabled.
Second, if the setting was present, it did the opposite of what the
user configured.

Bug #13122.
Reported-by: Paul Ingram <paul@nicira.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
vswitchd/bridge.c