NetworkManager/libnm-util
Jiří Klimeš b10e09ac17 libnm/vlan: default to vlan.flags=REORDER_HDR for new connections (rh #1250225)
The kernel defaults REORDER_HDR to 1 when creating a new VLAN, but
NetworkManager's VLAN flags property defaulted to 0. Thus REORDER_HDR was not
set for NM-created VLANs with default values.

We want to match the kernel default, so we change the default value for the
vlan.flags property. However, we do not want to change the flags for existing
connections if the property is missing in connection files. Thus we have to
update plugins for that. We also make sure that vlan.flags is always written
by 'keyfile' when the value is default. That way new connections have flags
property explicitly written and it will be loaded as expected.

https://bugzilla.redhat.com/show_bug.cgi?id=1250225

(cherry picked from commit 687b651598)
2015-10-07 14:00:59 +02:00
..
tests build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:35:52 +02:00
COPYING
crypto.c
crypto.h libnm-util: Note that nm_utils_deinit() is a no-op 2014-12-04 08:39:54 -05:00
crypto_gnutls.c libnm-util: Note that nm_utils_deinit() is a no-op 2014-12-04 08:39:54 -05:00
crypto_nss.c libnm-util: Note that nm_utils_deinit() is a no-op 2014-12-04 08:39:54 -05:00
libnm-util.pc.in
libnm-util.ver libnm: add function nm_utils_file_search_in_paths() 2014-12-05 11:07:42 +01:00
Makefile.am build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:35:52 +02:00
NetworkManager.h build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:35:52 +02:00
NetworkManagerVPN.h
nm-connection.c libnm-util: only unref and don't destroy hash in nm_connection_to_hash() 2015-03-13 11:50:03 +01:00
nm-connection.h
nm-param-spec-specialized.c
nm-param-spec-specialized.h
nm-setting-8021x.c libnm: only call strlen() once in NMSetting8021x:path_to_scheme_value() 2015-07-03 09:24:00 +02:00
nm-setting-8021x.h docs: misc small fixes 2014-12-18 13:46:11 -05:00
nm-setting-adsl.c libnm-core/libnm-util: fix an assertion in adsl setting 2015-09-21 15:48:44 +02:00
nm-setting-adsl.h
nm-setting-bluetooth.c docs: misc small fixes 2014-12-18 13:46:11 -05:00
nm-setting-bluetooth.h
nm-setting-bond.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-bond.h
nm-setting-bridge-port.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-bridge-port.h
nm-setting-bridge.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-bridge.h
nm-setting-cdma.c libnm: don't check for valid passwords in NMSetting:verify() 2015-03-20 13:07:10 +01:00
nm-setting-cdma.h
nm-setting-connection.c translations: avoid preprocessor strings inside translation macro 2015-02-24 14:32:49 +01:00
nm-setting-connection.h
nm-setting-dcb.c libnm: fix memleak for app_fcoe_mode in NMSettingDcb 2015-03-13 11:50:03 +01:00
nm-setting-dcb.h
nm-setting-generic.c
nm-setting-generic.h
nm-setting-gsm.c libnm: don't check for valid passwords in NMSetting:verify() 2015-03-20 13:07:10 +01:00
nm-setting-gsm.h
nm-setting-infiniband.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-infiniband.h
nm-setting-ip4-config.c libnm-util: allow 0.0.0.0/1 route in verify() (rh #1203904) 2015-03-24 12:27:02 +01:00
nm-setting-ip4-config.h
nm-setting-ip6-config.c libnm-core/libnm-util: fix an erroneous error message 2015-09-25 16:15:38 +02:00
nm-setting-ip6-config.h
nm-setting-olpc-mesh.c
nm-setting-olpc-mesh.h
nm-setting-ppp.c
nm-setting-ppp.h
nm-setting-pppoe.c
nm-setting-pppoe.h
nm-setting-private.h
nm-setting-serial.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-serial.h
nm-setting-team-port.c libnm: fix memleak for config in NMSettingTeamPort 2015-03-13 11:50:03 +01:00
nm-setting-team-port.h
nm-setting-team.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-team.h
nm-setting-template.c
nm-setting-template.h
nm-setting-vlan.c libnm/vlan: default to vlan.flags=REORDER_HDR for new connections (rh #1250225) 2015-10-07 14:00:59 +02:00
nm-setting-vlan.h
nm-setting-vpn.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-vpn.h
nm-setting-wimax.c
nm-setting-wimax.h
nm-setting-wired.c libnm: fix memleak in nm_setting_wired_get_s390_option() and refactor 2015-03-13 11:50:03 +01:00
nm-setting-wired.h
nm-setting-wireless-security.c libnm: don't check for valid passwords in NMSetting:verify() 2015-03-20 13:07:10 +01:00
nm-setting-wireless-security.h
nm-setting-wireless.c libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-wireless.h
nm-setting.c libnm-core,libnm-util: avoid calling a constructor 2015-06-18 12:11:37 +02:00
nm-setting.h
nm-utils-private.h
nm-utils.c libnm: handle illegal characters in nm_utils_ssid_to_utf8() (rh #1243078) 2015-07-16 14:24:47 +02:00
nm-utils.h libnm: add function nm_utils_file_search_in_paths() 2014-12-05 11:07:42 +01:00
nm-value-transforms.c
nm-version.h build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:35:52 +02:00