summaryrefslogtreecommitdiffstats
path: root/src/bpft.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-11 12:02:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-11 12:02:44 +0000
commitbf98de1c7b955e6fd3ca9e40f9c0f96104e76c7c (patch)
tree77b1e1111495e8cf47a89627283fa804c3804e67 /src/bpft.c
parentReleasing debian version 2.2.0-2. (diff)
downloaddnscap-bf98de1c7b955e6fd3ca9e40f9c0f96104e76c7c.tar.xz
dnscap-bf98de1c7b955e6fd3ca9e40f9c0f96104e76c7c.zip
Merging upstream version 2.2.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/bpft.c')
-rw-r--r--src/bpft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bpft.c b/src/bpft.c
index 8ce1b56..80393e9 100644
--- a/src/bpft.c
+++ b/src/bpft.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2023, OARC, Inc.
+ * Copyright (c) 2016-2024 OARC, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -86,7 +86,7 @@ void prepare_bpft(void)
else
len += text_add(&bpfl, "("); /* ( transports ... */
if (wanticmp) {
- len += text_add(&bpfl, " ( ip proto 1 or ip proto 58 ) or");
+ len += text_add(&bpfl, " ( icmp or icmp6 ) or");
}
if (wantfrags) {
len += text_add(&bpfl, " ( ip[6:2] & 0x1fff != 0 or ip6[6] = 44 ) or");