network: change UseGateway= default to UseRoutes= setting
authorDan Streetman <ddstreet@canonical.com>
Wed, 15 Apr 2020 18:40:21 +0000 (14:40 -0400)
committerMichael Biebl <biebl@debian.org>
Mon, 27 Jul 2020 21:24:47 +0000 (22:24 +0100)
commite1e5fcf41cedaa3cebe8d8ce692065ef2603f905
treeb4ecba010f75accb42fbef44012de9394b9e3656
parent9f6808ed6135a0db5d22a618e51036c9a3e7127a
network: change UseGateway= default to UseRoutes= setting

Anyone previously using the UseRoutes=false parameter expected their
dhcp4-provided gateway route to be ignored, as well.  However, with
the introduction of the UseGateway= parameter, this is no longer true.

In order to keep backwards compatibility, this sets the UseGateway=
default value to whatever UseRoutes= has been set to.

(cherry picked from commit 589397a27759bd650b3674029cb0ef73347c913b)

Gbp-Pq: Name network-change-UseGateway-default-to-UseRoutes-setting.patch
man/systemd.network.xml
src/network/networkd-network-gperf.gperf
src/network/networkd-network.c
src/network/networkd-network.h