NetworkManager/src/settings
Thomas Haller aa6bc2868d ifcfg-rh: use nm_utils_ifname_valid() for validating interface-name in reader
Maybe the reader should not try to add its own validation. It
could just read the value, set it in the profile, and let
nm_connection_verify() handle it.

However:

 - in this form the code only logs a warning about invalid setting.
   If we let it come to nm_connection_verify(), the connection profile
   will be entirely rejected. I think this makes sense, because ifcfg
   files may be edited by the user and we don't know what is out there.

 - it's nicer to show a warning that specifically mentions the DEVICE=
   variable. There error message we get from nm_connection_verify()
   is no longer aware of ifcfg peculiarities.

Instead: use the appropriate validation function.
2020-02-26 17:51:13 +01:00
..
plugins ifcfg-rh: use nm_utils_ifname_valid() for validating interface-name in reader 2020-02-26 17:51:13 +01:00
nm-agent-manager.c all: drop explicit casts from _GET_PRIVATE() macro calls 2020-02-14 11:04:46 +01:00
nm-agent-manager.h agent-manager: let nm_settings_connection_check_permission() check all secret-agents searching for permission 2019-12-31 02:13:45 +01:00
nm-secret-agent.c shared: drop _STATIC variant of macros that define functions 2020-02-13 17:17:07 +01:00
nm-secret-agent.h agent-manager: fix races registering secret agent and track auth-chain per agent 2019-12-31 02:13:45 +01:00
nm-settings-connection.c shared: drop _STATIC variant of macros that define functions 2020-02-13 17:17:07 +01:00
nm-settings-connection.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-settings-plugin.c all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-settings-plugin.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-settings-storage.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-settings-storage.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-settings-utils.c all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-settings-utils.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-settings.c shared: drop _STATIC variant of macros that define functions 2020-02-13 17:17:07 +01:00
nm-settings.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00