From: Philippe Antoine Date: Sat, 19 Apr 2025 19:28:16 +0000 (+0200) Subject: dnp3: mark tx as updated when creating it X-Git-Tag: suricata-8.0.0-rc1~438 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13054%2Fhead;p=thirdparty%2Fsuricata.git dnp3: mark tx as updated when creating it Ticket: 7668 We should set updated_tx when allocating a dnp3 tx --- diff --git a/src/app-layer-dnp3.c b/src/app-layer-dnp3.c index b8634abcee..4d9459da5f 100644 --- a/src/app-layer-dnp3.c +++ b/src/app-layer-dnp3.c @@ -898,6 +898,7 @@ static void DNP3HandleUserDataRequest(DNP3State *dnp3, const uint8_t *input, if (unlikely(tx == NULL)) { return; } + tx->tx_data.updated_ts = true; tx->lh = *lh; tx->th = th; tx->ah = *ah; @@ -971,6 +972,7 @@ static void DNP3HandleUserDataResponse(DNP3State *dnp3, const uint8_t *input, if (unlikely(tx == NULL)) { return; } + tx->tx_data.updated_tc = true; tx->lh = *lh; tx->th = th; tx->ah = *ah;