summaryrefslogtreecommitdiffstats
path: root/debian/patches/drop-privs-silently.diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/drop-privs-silently.diff4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/drop-privs-silently.diff b/debian/patches/drop-privs-silently.diff
index b4a5412..7e14887 100644
--- a/debian/patches/drop-privs-silently.diff
+++ b/debian/patches/drop-privs-silently.diff
@@ -8,7 +8,7 @@ Origin: vendor, https://src.fedoraproject.org/rpms/tcpdump/raw/master/f/0008-Don
--- a/tcpdump.c
+++ b/tcpdump.c
-@@ -788,8 +788,6 @@
+@@ -786,8 +786,6 @@
int ret = capng_change_id(pw->pw_uid, pw->pw_gid, CAPNG_NO_FLAG);
if (ret < 0)
error("capng_change_id(): return %d\n", ret);
@@ -17,7 +17,7 @@ Origin: vendor, https://src.fedoraproject.org/rpms/tcpdump/raw/master/f/0008-Don
}
#else
if (initgroups(pw->pw_name, pw->pw_gid) != 0 ||
-@@ -799,9 +797,6 @@
+@@ -797,9 +795,6 @@
(unsigned long)pw->pw_uid,
(unsigned long)pw->pw_gid,
pcap_strerror(errno));