NetworkManager/clients/common
Thomas Haller 91d8038a81 cli: fix default value for team.runner-min-ports
The default value is "1", not "0". Also, because "0" is not actually a
valid value as far as teamd is concerned. This fixes:

    $ nmcli connection add type team autoconnect no con-name t team.runner lacp team.runner-min-ports default
    Error: Failed to add 't' connection: team.runner-min-ports: value out or range

See "teamd.conf" manual:

    runner.min_ports (int)
        Specifies the minimum number of ports that must be active before asserting
        carrier in the master interface, value can be 1 – 255.

        Default: 1

This mistake probably happend because the teamd manual is wrong in older versions [1].

[1] f36c191da3

https://bugzilla.redhat.com/show_bug.cgi?id=1716987
2019-06-11 13:25:21 +02:00
..
tests all: drop empty first line from sources 2019-06-11 10:15:06 +02:00
meson.build shared: build helper "libnm-libnm-core-{intern|aux}.la" library for libnm-core 2019-04-18 20:07:44 +02:00
nm-client-utils.c cli: don't treat empty string as valid number in nmc_string_to_uint_base() 2019-03-25 09:12:32 +01:00
nm-client-utils.h shared: build helper "libnm-libnm-core-{intern|aux}.la" library for libnm-core 2019-04-18 20:07:44 +02:00
nm-meta-setting-access.c cli: allow completing filenames 2019-05-06 10:10:00 +02:00
nm-meta-setting-access.h cli: allow completing filenames 2019-05-06 10:10:00 +02:00
nm-meta-setting-desc.c cli: fix default value for team.runner-min-ports 2019-06-11 13:25:21 +02:00
nm-meta-setting-desc.h cli: allow completing filenames 2019-05-06 10:10:00 +02:00
nm-polkit-listener.c all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-polkit-listener.h all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-secret-agent-simple.c all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-secret-agent-simple.h all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-vpn-helpers.c all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-vpn-helpers.h all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
settings-docs.h.in libnm: rework team handling of JSON config 2019-05-23 18:09:49 +02:00
settings-docs.xsl cli: fix marking settings docs for translation 2017-04-23 23:45:02 +02:00