diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-13 20:50:46 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-13 20:55:13 +0100 |
commit | 43c6d5abacaebf813845934ec8d5e5ee3c431854 (patch) | |
tree | ac0e44a65ea82b254c6ce2e311583ecfea798c62 /src/network/networkd-wait-online-manager.c | |
parent | cd1ddd542136c49831fa34de49321153dcc291e2 (diff) |
networkd: propagate IPFoward= per-interface setting also to /proc/sys/net/ipv4/ip_forward
We need to turn on /proc/sys/net/ipv4/ip_forward before the
per-interface forwarding setting is useful, hence let's propagate the
per-interface setting once to the system-wide setting.
Due to the unclear ownership rules of that flag, and the fact that
turning it on also has effects on other sysctl flags we try to minimize
changes to the flag, and only turn it on once. There's no logic to
turning it off again, but this should be fairly unproblematic as the
per-interface setting defaults to off anyway.
Diffstat (limited to 'src/network/networkd-wait-online-manager.c')
0 files changed, 0 insertions, 0 deletions