NetworkManager/src/dhcp
Thomas Haller 5c299454b4 core: rework tracking of gateway/default-route in ip-config
Instead of having 3 properties @gateway, @never_default and @has_gateway
on NMIP4Config/NMIP6Config that determine the default-route, track the
default-route as a regular route.

The gateway setting is the configuration knob for the default-route.
Since an NMIP4Config/NMIP6Config instance only has one gateway property,
it cannot track more then one default-routes (see related bug rh#1445417).
Especially with policy routing, it might be interesting to configure a
default-route in multiple tables.

Also, later it might be interesting to allow adding default-routes as
regular static routes in a connection, so that the user can configure additional
route parameters for the default-route or add default-routes in multiple tables.

With this patch, default-routes now have a rt_source property according to their
origin.

Also, the previous commits of this branch broke handling of the
default-route :) . That should be working now again.
2017-10-10 08:46:47 +02:00
..
tests core: rework tracking of gateway/default-route in ip-config 2017-10-10 08:46:47 +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 core: use ipv4.route-table setting for other IPv4 routes 2017-10-09 22:06:25 +02:00
nm-dhcp-client.h core: use ipv4.route-table setting for other IPv4 routes 2017-10-09 22:06:25 +02:00
nm-dhcp-dhclient-utils.c core: rework tracking of gateway/default-route in ip-config 2017-10-10 08:46:47 +02:00
nm-dhcp-dhclient-utils.h core: rework tracking of gateway/default-route in ip-config 2017-10-10 08:46:47 +02:00
nm-dhcp-dhclient.c core: rework tracking of gateway/default-route in ip-config 2017-10-10 08:46:47 +02:00
nm-dhcp-dhcpcd.c dhcp: allow FQDNs in ipv4.dhcp-hostname 2017-05-04 16:25: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 build: rename "src/dhcp-manager" to "src/dhcp" 2016-11-21 14:07:47 +01:00
nm-dhcp-listener.c dhcp: cleanup handling method-call in DHCP listener 2017-10-04 12:41:48 +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 core: use ipv4.route-table setting for other IPv4 routes 2017-10-09 22:06:25 +02:00
nm-dhcp-manager.h core: use ipv4.route-table setting for other IPv4 routes 2017-10-09 22:06:25 +02:00
nm-dhcp-systemd.c core: rework tracking of gateway/default-route in ip-config 2017-10-10 08:46:47 +02:00
nm-dhcp-utils.c core: rework tracking of gateway/default-route in ip-config 2017-10-10 08:46:47 +02:00
nm-dhcp-utils.h core: use ipv4.route-table setting for other IPv4 routes 2017-10-09 22:06:25 +02:00