]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rlm_sigtran/pcap: typo &now instead of &tv in mtp_pcap_write_msu causes uninitialized...
authorAlexander Bainbridge-Sedivy <alex.bainbridge@inkbridge.io>
Wed, 13 May 2026 18:41:49 +0000 (14:41 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 27 May 2026 20:24:36 +0000 (16:24 -0400)
src/modules/rlm_sigtran/libosmo-m3ua/pcap.c

index 7fb6168d09e86929d5bfdda7b4a4c72fb9f2f81c..cea24688bdf1c90e453057b2c732e25f94cfa266 100644 (file)
@@ -75,7 +75,7 @@ int mtp_pcap_write_msu(int fd, const uint8_t *data, int length)
                .orig_len   = length,
        };
 
-       gettimeofday(&now, NULL);
+       gettimeofday(&tv, NULL);
        payload_header.ts_sec = tv.tv_sec;
        payload_header.ts_usec = tv.tv_usec;