]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
quiet coverity
authorAlan T. DeKok <aland@freeradius.org>
Wed, 19 Jun 2024 12:49:17 +0000 (08:49 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 19 Jun 2024 12:49:17 +0000 (08:49 -0400)
We can decode packets if there's no original request, but we
cannot verify the Response Authenticator

src/bin/radsniff.c

index be40a7399ed7a0d70dd4e379f291975c6ba4aeb3..86b3f3a9b7377b64f24cb1d9e44abf38ab4034f4 100644 (file)
@@ -1465,7 +1465,7 @@ static void rs_packet_process(uint64_t count, rs_event_t *event, struct pcap_pkt
                        return;
                }
 
-               if (conf->verify_radius_authenticator) {
+               if (conf->verify_radius_authenticator && original) {
                        int ret;
                        FILE *log_fp = fr_log_fp;