aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iwarp-mpa.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-iwarp-mpa.c')
-rw-r--r--epan/dissectors/packet-iwarp-mpa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-iwarp-mpa.c b/epan/dissectors/packet-iwarp-mpa.c
index 666c0f3e34..07baaae128 100644
--- a/epan/dissectors/packet-iwarp-mpa.c
+++ b/epan/dissectors/packet-iwarp-mpa.c
@@ -596,17 +596,17 @@ fpdu_pad_length(guint16 ulpdu_length)
/* returns offset for PAD */
guint32
-pad_offset(struct tcpinfo *tcpinfo, guint32 fpdu_total_length,
- guint8 pad_length)
+pad_offset(struct tcpinfo *tcpinfo, guint32 fpdu_total_len,
+ guint8 pad_len)
{
if ((tcpinfo->nxtseq - MPA_CRC_LEN - MPA_MARKER_LEN) % MPA_MARKER_INTERVAL
== 0) {
/* covers the case where a Marker resides between the padding
* and CRC.
*/
- return fpdu_total_length - MPA_CRC_LEN - MPA_MARKER_LEN - pad_length;
+ return fpdu_total_len - MPA_CRC_LEN - MPA_MARKER_LEN - pad_len;
} else {
- return fpdu_total_length - MPA_CRC_LEN - pad_length;
+ return fpdu_total_len - MPA_CRC_LEN - pad_len;
}
}