Thomas Haller
395174f659
shared: avoid "-Wmissing-braces" warning initalizing NMIPAddr
...
NMIPAddr contains an unnamed union. We have to either explicitly
initialize one field, or omit it.
../shared/nm-utils/nm-shared-utils.c:38:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
const NMIPAddr nm_ip_addr_zero = { 0 };
^
{}
2019-02-08 20:14:50 +01:00
Thomas Haller
c4eadb709c
initrd/trivial: fix whitespace
2019-01-21 14:18:54 +01:00
Lubomir Rintel
125b9a5a5d
initrd: make the default connection activatable on multiple devices
...
The ip=dhcp (without a device name given) and such should activate all
possible devices.
https://github.com/NetworkManager/NetworkManager/pull/284
2019-01-21 13:00:04 +01:00
Beniamino Galvani
d0a99176a7
initrd: cmdline-reader: fix setting uint properties
...
Previously a uint property was assigned with a guint64 value, which
has a different size. Fix this and add a warning when the read value
can't be converted.
Fixes: ecc074b2f8
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/66
2018-10-23 09:09:42 +02:00
Lubomir Rintel
02958bba80
all: remove \n endings from log calls
...
The extra newlines look bad when logging to the console.
https://github.com/NetworkManager/NetworkManager/pull/223
2018-10-12 14:34:58 +02:00
Lubomir Rintel
ecde3e9034
initrd/cmdline-reader: fix whitespace errors
...
Detected by checkpatch.pl
2018-09-24 13:21:12 +02:00
Lubomir Rintel
e4a5f0b900
initrd: adjust to the newer nm_utils_parse_inaddr_*bin() API
2018-09-18 18:14:09 +02:00
Lubomir Rintel
ecc074b2f8
initrd: add command line parser
2018-09-18 17:40:47 +02:00