NetworkManager/src/dhcp
Lubomir Rintel 159ff23268 dhcp/dhclient-utils: skip over dhclient.conf blocks
Extend the lame-ass dhclient.conf parser to ignore the blocks we can't
do anything useful about: alias{}, pseudo{} and even lease{}.

Note that there's still a lot of cases we can't handle without a
full-fledged dhclient.conf parser -- notably the files that don't use
line breaks to separate the statements.

That is probably okay -- the whole thing is probably mostly useless and
we shall ever bother only about cases that actually cause trouble.

https://github.com/NetworkManager/NetworkManager/pull/153
2018-07-23 12:33:51 +02:00
..
tests dhcp/dhclient-utils: skip over dhclient.conf blocks 2018-07-23 12:33:51 +02:00
meson.build build: create "config-extra.h" header instead of passing directory variables via CFLAGS 2018-07-17 17:46:39 +02:00
nm-dhcp-client-logging.h core/dhcp: use addr-family parameter for instead of boolean 2017-09-11 15:05:57 +02:00
nm-dhcp-client.c all: don't use gchar/gshort/gint/glong but C types 2018-07-11 12:02:06 +02:00
nm-dhcp-client.h all: don't use gchar/gshort/gint/glong but C types 2018-07-11 12:02:06 +02:00
nm-dhcp-dhclient-utils.c dhcp/dhclient-utils: skip over dhclient.conf blocks 2018-07-23 12:33:51 +02:00
nm-dhcp-dhclient-utils.h dhcp: remove unused nm_dhcp_dhclient_read_lease_ip_configs() function 2018-03-20 21:03:20 +01:00
nm-dhcp-dhclient.c all: don't use gchar/gshort/gint/glong but C types 2018-07-11 12:02:06 +02:00
nm-dhcp-dhcpcanon.c all: don't use gchar/gshort/gint/glong but C types 2018-07-11 12:02:06 +02:00
nm-dhcp-dhcpcd.c all: don't use gchar/gshort/gint/glong but C types 2018-07-11 12:02:06 +02:00
nm-dhcp-helper-api.h build: rename "src/dhcp-manager" to "src/dhcp" 2016-11-21 14:07:47 +01:00
nm-dhcp-helper.c all: require glib 2.40 2018-01-18 11:45:36 +01:00
nm-dhcp-listener.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-dhcp-listener.h build: rename "src/dhcp-manager" to "src/dhcp" 2016-11-21 14:07:47 +01:00
nm-dhcp-manager.c dhcp: drop NMDhcpDuidEnforce type 2018-06-20 11:39:27 +02:00
nm-dhcp-manager.h dhcp: drop NMDhcpDuidEnforce type 2018-06-20 11:39:27 +02:00
nm-dhcp-systemd.c dhcp: use NMIPConfig type for argument of nm_dhcp_client_set_state() 2018-05-26 20:11:04 +02:00
nm-dhcp-utils.c all: don't use gchar/gshort/gint/glong but C types 2018-07-11 12:02:06 +02:00
nm-dhcp-utils.h dhcp: drop NMDhcpDuidEnforce type 2018-06-20 11:39:27 +02:00