]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Do not set `net.ipv4.conf.default.*`
authorHristo Venev <hristo@venev.name>
Tue, 5 Dec 2017 14:30:43 +0000 (16:30 +0200)
committerHristo Venev <hristo@venev.name>
Tue, 5 Dec 2017 14:34:59 +0000 (16:34 +0200)
It is redundant because in these cases the values in
`net.ipv4.conf.all.*` take precedence. Also, setting the `default` does
nothing for devices that already exist.

sysctl.d/50-default.conf

index aff99300d945dbe5db24cdaabd56255add6f65ab..e263cf06284a98a2fb402767b023f20ab9eb9808 100644 (file)
@@ -22,15 +22,12 @@ kernel.sysrq = 16
 kernel.core_uses_pid = 1
 
 # Source route verification
-net.ipv4.conf.default.rp_filter = 1
 net.ipv4.conf.all.rp_filter = 1
 
 # Do not accept source routing
-net.ipv4.conf.default.accept_source_route = 0
 net.ipv4.conf.all.accept_source_route = 0
 
 # Promote secondary addresses when the primary address is removed
-net.ipv4.conf.default.promote_secondaries = 1
 net.ipv4.conf.all.promote_secondaries = 1
 
 # Fair Queue CoDel packet scheduler to fight bufferbloat