libnm-core: remove special handling of missing VLAN_FLAGS
authorBeniamino Galvani <bgalvani@redhat.com>
Fri, 26 Feb 2016 15:00:25 +0000 (16:00 +0100)
committerBeniamino Galvani <bgalvani@redhat.com>
Mon, 29 Feb 2016 17:11:17 +0000 (18:11 +0100)
commitda70fbd7d56f6b6f7c885d57660f1ed30c5064f2
treece5898c557138cd298c99899818a13970428a127
parent2e5e7285a875f84377da4e5035795286a6f13c9b
libnm-core: remove special handling of missing VLAN_FLAGS

On older NM versions the default value for vlan.flags was 0, but then
the actual value set on interfaces was REORDER_HDR. In order to
maintain backwards compatibility in behavior, remove the special
handling of vlan.flags so that a missing key is treated as the default
value REORDER_HDR.

https://bugzilla.gnome.org/show_bug.cgi?id=762626
libnm-core/nm-keyfile-reader.c
src/settings/plugins/keyfile/tests/test-keyfile.c