From 8d52b293b5820d66d0f64f9108c53ba9e40186a4 Mon Sep 17 00:00:00 2001 From: Michael Tuexen <tuexen@fh-muenster.de> Date: Sat, 7 Oct 2017 15:21:12 +0200 Subject: [PATCH] Fix CID 187179. --- gtests/net/packetdrill/sctp_packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtests/net/packetdrill/sctp_packet.c b/gtests/net/packetdrill/sctp_packet.c index e82bc3cd..34a45a08 100644 --- a/gtests/net/packetdrill/sctp_packet.c +++ b/gtests/net/packetdrill/sctp_packet.c @@ -2263,7 +2263,7 @@ sctp_reconfig_response_parameter_new(s64 respsn, s64 result, s64 sender_next_tsn if (receiver_next_tsn == -1) { flags |= FLAG_RECONFIG_RECEIVER_NEXT_TSN_NOCHECK; parameter->receiver_next_tsn = 0; - } else if (sender_next_tsn != -2) { + } else if (receiver_next_tsn != -2) { parameter->receiver_next_tsn = htonl((u32)receiver_next_tsn); } -- GitLab