NetworkManager/src/initrd
Thomas Haller 0a10468d79 initrd: fix setting VLan ID in reader_parse_vlan()
g_ascii_strtoull() returns a guint64, which is very wrong to directly pass
to the variadic argument list of g_object_set(). We expect a guint there
and need to cast.

While at it, use _nm_utils_ascii_str_to_int64() to parse and validate the input.

(cherry picked from commit d506823d4f)
(cherry picked from commit 24177569c1)
2020-04-02 09:52:27 +02:00
..
tests initrd/tests: put the bootif=no next to the other bootif tests 2019-11-18 13:44:06 +01:00
meson.build build/meson: rename "nm_core_dep" to "libnm_core_dep" 2019-04-18 20:13:49 +02:00
nm-initrd-generator.c initrd: make "argv" argument of nmi_cmdline_reader_parse() a const strv 2019-09-27 09:31:00 +02:00
nm-initrd-generator.h initrd: make "argv" argument of nmi_cmdline_reader_parse() a const strv 2019-09-27 09:31:00 +02:00
nmi-cmdline-reader.c initrd: fix setting VLan ID in reader_parse_vlan() 2020-04-02 09:52:27 +02:00
nmi-ibft-reader.c ipv6: add 'disabled' method 2019-06-11 16:22:04 +02:00