NetworkManager/clients
Thomas Haller b789ce01e9 cli: fix handling modifier in nmc_read_connection_properties() for aliases
Various cleanups:

  - after detecting the modifier, remove it from the string right away.
    It's redundant and confusing to do it later.

  - rename variables and move to inner scope.

  - don't use g_str_split() to split the property name at the
    first dot. strchr() is sufficient.

Also, now that we strip the modifier from option early, they start also
working for aliases. There is no need to not support (or behave
differently) w.r.t. whether aliases support modifiers or not.

This fixes:

  $ nmcli connection modify r +ip4 192.168.5.2/24
  Error: invalid <setting>.<property> 'ip4'.
2019-08-16 08:16:02 +02:00
..
cli cli: fix handling modifier in nmc_read_connection_properties() for aliases 2019-08-16 08:16:02 +02:00
common cli: add NMMetaAccessorModifier enum instead of using "char" type 2019-08-16 08:16:02 +02:00
tests cli: abort on extra arguments 2019-07-30 18:40:31 +02:00
tui tui: newt: remove NULL checks after dereference 2019-08-02 16:26:34 +02:00
meson.build build/meson: rename "nm_core_dep" to "libnm_core_dep" 2019-04-18 18:59:09 +02:00
nm-online.c all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00