NetworkManager/clients/common
Thomas Haller cf482ae8ee cli: fix handling uint64 connection property "serial.send-delay"
libnm currently has only one GObject property of type uint64:
"serial.send-delay". However, it's broken because uint64 handling
is not implemented.

    $ nmcli connection add type gsm autoconnect no con-name t ifname '*' apn 'xyz' serial.baud 5
    Connection 't' (4c929f17-9fda-41d6-8f90-897f6d46b078) successfully added.

    $ nmcli connection show t
    ...
    ipv6.dhcp-duid:                         --
    ipv6.dhcp-send-hostname:                yes
    ipv6.dhcp-hostname:                     --
    ipv6.token:                             --

    (process:14016): libnmc-CRITICAL **: 14:08:32.591: file clients/common/nm-meta-setting-desc.c: line 811 (_get_fcn_gobject_int): should not be reached
    serial.baud:                            5
    serial.bits:                            8
    serial.parity:                          none
    serial.stopbits:                        1
    serial.send-delay:                      --
    gsm.number:                             *99#
    ...

    $ nmcli connection add type gsm autoconnect no con-name t ifname '*' apn 'xyz' serial.baud 5 serial.send-delay 100

    (process:14852): libnmc-CRITICAL **: 14:12:24.259: file clients/common/nm-meta-setting-desc.c: line 1131 (_set_fcn_gobject_int): should not be reached
    Segmentation fault (core dumped)

Fixes: b6d9bdcee8
(cherry picked from commit a600b3a3b2)
(cherry picked from commit 1b987a5366)
2018-11-30 16:54:32 +01:00
..
tests build: meson: add prefix to test names 2018-04-12 09:21:10 +02:00
meson.build build/meson: fix meson build for shared files 2018-05-31 15:59:38 +02:00
nm-client-utils.c cli: fix property matching 2018-05-28 11:33:40 +02:00
nm-client-utils.h clients/common: add nmc_objects_sort_by_path() helper 2018-05-14 17:53:03 +02:00
nm-meta-setting-access.c clients: change nm_meta_abstract_info_get() to report defaults 2018-04-13 17:02:55 +02:00
nm-meta-setting-access.h clients: change nm_meta_abstract_info_get() to report defaults 2018-04-13 17:02:55 +02:00
nm-meta-setting-desc.c cli: fix handling uint64 connection property "serial.send-delay" 2018-11-30 16:54:32 +01:00
nm-meta-setting-desc.h cli: fix handling uint64 connection property "serial.send-delay" 2018-11-30 16:54:32 +01:00
nm-polkit-listener.c cli: rework callbacks in NMPolkitListener to use one vtable structure 2018-04-16 16:03:14 +02:00
nm-polkit-listener.h all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nm-secret-agent-simple.c cli: fix reading "vpn.secrets.*" from passwd-file 2018-09-14 15:18:29 +02:00
nm-secret-agent-simple.h cli: fix reading "vpn.secrets.*" from passwd-file 2018-09-14 15:18:29 +02:00
nm-vpn-helpers.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-vpn-helpers.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
settings-docs.h.in libnm-core: fix documentation for connection.mdns 2018-11-22 11:44:25 +01:00
settings-docs.xsl cli: fix marking settings docs for translation 2017-04-23 23:45:02 +02:00