NetworkManager/clients/tui
Thomas Haller 61d4bc62e0
tui: fix default values for bond options in nmtui
When configuring miimon settings, the updelay/downdelay fields with
value zero may not be stored in the setting.

For example:

- have a profile with "mode=balance-rr,arp_interval=11,arp_ip_target=10.10.10.1,miimon=10"
  Switch the link monitoring mode to "MII" and press <OK>. Previously,
  the change of the link monitoring did not update the settings, and
  nothing was changed.

- when loading settings, initialize all fields with the values from the
  settings, regardless whether they are currently visible or not.
  Otherwise, if you edit a profile with
  "mode=balance-rr,arp_interval=11,arp_ip_target=10.10.10.1,miimon=10"
  and switch link monitoring mode to "MII", the miimon setting was not
  initialized to 10.

- accept empty bond settings, for example for updelay. In that case,
  initialize the text input to "0". Likewise, when the text entry is
  empty, set the bond option to the respective default.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/488
2020-07-11 15:06:28 +02:00
..
newt all: fix minor typos 2020-07-07 11:33:46 +02:00
meson.build license: Add license using SPDX identifiers to meson build files 2020-02-17 13:16:57 +01:00
nm-editor-bindings.c all: use nm_utils_ipaddr_is_valid() instead of nm_utils_ipaddr_valid() 2020-01-28 11:17:41 +01:00
nm-editor-bindings.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-editor-utils.c nmtui: only set 'mode' and enable 'miimon' when setting up a new connection 2020-03-06 10:39:00 +01:00
nm-editor-utils.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-address-list.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-address-list.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-connect-connection-list.c all: use nm_clear_g_free() instead of g_clear_pointer() 2020-03-23 11:05:34 +01:00
nmt-connect-connection-list.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-device-entry.c all: use nm_clear_g_free() instead of g_clear_pointer() 2020-03-23 11:05:34 +01:00
nmt-device-entry.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-edit-connection-list.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-edit-connection-list.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-editor-grid.c all: use nm_clear_g_free() instead of g_clear_pointer() 2020-03-23 11:05:34 +01:00
nmt-editor-grid.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-editor-page-device.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-editor-page-device.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-editor-page.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-editor-page.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-editor-section.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-editor-section.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-editor.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-editor.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-ip-entry.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-ip-entry.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-mac-entry.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-mac-entry.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-mtu-entry.c all: fix typo in man pages 2020-07-03 10:48:04 +02:00
nmt-mtu-entry.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-bond.c tui: fix default values for bond options in nmtui 2020-07-11 15:06:28 +02:00
nmt-page-bond.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-bridge-port.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-bridge-port.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-bridge.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-bridge.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-dsl.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-dsl.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-ethernet.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-ethernet.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-infiniband.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-infiniband.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-ip-tunnel.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-ip-tunnel.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-ip4.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-ip4.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-ip6.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-ip6.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-ppp.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-ppp.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-team-port.c all: use nm_clear_g_free() instead of g_clear_pointer() 2020-03-23 11:05:34 +01:00
nmt-page-team-port.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-team.c all: use nm_clear_g_free() instead of g_clear_pointer() 2020-03-23 11:05:34 +01:00
nmt-page-team.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-vlan.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-vlan.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-page-wifi.c client/tui: add OWE support 2019-12-05 14:00:10 +01:00
nmt-page-wifi.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-password-dialog.c all: use nm_clear_pointer() instead of g_clear_pointer() 2020-03-23 11:22:38 +01:00
nmt-password-dialog.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-password-fields.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-password-fields.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-route-editor.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-route-editor.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-route-entry.c all: use nm_clear_pointer() instead of g_clear_pointer() 2020-03-23 11:22:38 +01:00
nmt-route-entry.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-route-table.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-route-table.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-slave-list.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-slave-list.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-utils.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-utils.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-widget-list.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmt-widget-list.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmtui-connect.c nmtui: show error on connection deactivation failure 2020-05-15 19:27:09 +02:00
nmtui-connect.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmtui-edit.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmtui-edit.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmtui-hostname.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmtui-hostname.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nmtui.c tui: don't fetch permissions for NMClient in nmtui 2019-12-10 09:17:17 +01:00
nmtui.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00