commit | 54166156fbce8b5c6182de0cb28041349d867dff | [log] [tgz] |
---|---|---|
author | Tarun Kundu <tarun.kundu@est.tech> | Thu Sep 08 15:09:52 2022 -0700 |
committer | Tarun Kundu <tarun.kundu@est.tech> | Thu Sep 08 15:09:52 2022 -0700 |
tree | 1b360375c1e9aa1dce2966babf07d1db49ca759c | |
parent | f37019e25abb647ab2fdf1d38a9ae97516e8bb85 [diff] |
Decrementing the AR count when stripping EDNS0 Option record Change-Id: I6f5feac8edc7f4fe8e3fab7db13fad08408bafbc
diff --git a/src/edns0.c b/src/edns0.c index 4b2dedf..2f9d9d6 100644 --- a/src/edns0.c +++ b/src/edns0.c
@@ -536,6 +536,7 @@ { insert_appid_catid_to_ipset(ansp, opdlen); memmove(ansp, ansp + oplen, plen - oplen); + header->arcount = htons(arcount-1); } else {