naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
17aa40
From 41a32aeaf5d33f253f48bfbe8d00de9d160985f7 Mon Sep 17 00:00:00 2001
17aa40
From: Lennart Poettering <lennart@poettering.net>
17aa40
Date: Fri, 26 Jul 2019 09:26:07 +0200
17aa40
Subject: [PATCH] sysctl: prefix ping port range setting with a dash
17aa40
17aa40
Fixes: #13177
17aa40
17aa40
Resolves: #2037807
17aa40
17aa40
(cherry picked from commit 000500c9d6347e0e2cdb92ec48fa10c0bb3ceca8)
17aa40
---
17aa40
 sysctl.d/50-default.conf | 2 +-
17aa40
 1 file changed, 1 insertion(+), 1 deletion(-)
17aa40
17aa40
diff --git a/sysctl.d/50-default.conf b/sysctl.d/50-default.conf
17aa40
index 21ae1df13d..5156d55ca9 100644
17aa40
--- a/sysctl.d/50-default.conf
17aa40
+++ b/sysctl.d/50-default.conf
17aa40
@@ -39,7 +39,7 @@ net.ipv4.conf.all.promote_secondaries = 1
17aa40
 #   #define GID_T_MAX (((gid_t)~0U) >> 1)
17aa40
 # That's not so bad because values between 2^31 and 2^32-1 are reserved on
17aa40
 # systemd-based systems anyway: https://systemd.io/UIDS-GIDS.html#summary
17aa40
-net.ipv4.ping_group_range = 0 2147483647
17aa40
+-net.ipv4.ping_group_range = 0 2147483647
17aa40
 
17aa40
 # Fair Queue CoDel packet scheduler to fight bufferbloat
17aa40
 net.core.default_qdisc = fq_codel