]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-network.c
networkd: create "kernel" setting for IPForwarding
authorNick Owens <nick.owens@coreos.com>
Fri, 1 May 2015 18:48:08 +0000 (11:48 -0700)
committerNick Owens <nick.owens@coreos.com>
Thu, 11 Jun 2015 19:09:21 +0000 (12:09 -0700)
commit8add5f79709f323f1b077dde8a4a1aa7f560886f
tree744695e5c53b990c4416b3c8679b683357d8b07a
parent96490500cffcd5771ee29c939151d87b0673507e
networkd: create "kernel" setting for IPForwarding

In 5a8bcb674f71a20e95df55319b34c556638378ce, IPForwarding was introduced
to set forwarding flags on interfaces in .network files. networkd sets
forwarding options regardless of the previous setting, even if it was
set by e.g. sysctl. This commit creates a new option for IPForwarding,
"kernel", that preserves the sysctl settings rather than always setting
them.

See https://bugs.freedesktop.org/show_bug.cgi?id=89509 for the initial
bug report.
src/network/networkd-link.c
src/network/networkd-network-gperf.gperf
src/network/networkd-network.c
src/network/networkd.h