]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-network.c
network: enable GatewayOnLink= if Gateway= without static address configured
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 27 Feb 2019 09:41:49 +0000 (18:41 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 28 Feb 2019 01:34:21 +0000 (10:34 +0900)
commit4912ab7774ccc1eed07bfbbc6b87e8a23b1f5495
tree0531b5d2cf00ffed9aa735fff91a246e8d7ff3d1
parent54901fd2223bfae6cb68402c71cec8ec6af59c39
network: enable GatewayOnLink= if Gateway= without static address configured

And warn about that.

But this only done if GatewayOnLink= is not specified. When it is
explicitly disabled, then the flag will not be set.
src/network/networkd-network.c