diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-11 12:02:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-11 12:02:40 +0000 |
commit | 4e0143a3bd62defb458342444822a445d8513107 (patch) | |
tree | 4b8ea3f51cf497c3e8539be41a16242c19054be1 /src/bpft.c | |
parent | Adding upstream version 2.2.0. (diff) | |
download | dnscap-upstream/2.2.1.tar.xz dnscap-upstream/2.2.1.zip |
Adding upstream version 2.2.1.upstream/2.2.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/bpft.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); |