summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-iwarp-mpa.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-01-18 23:16:10 +0000
committerBill Meier <wmeier@newsguy.com>2010-01-18 23:16:10 +0000
commitc5614625ee36aaec31e716a2879a2492984a1fed (patch)
treedc072ea64d05386e4ee2e0239b9cf90f63272e20 /epan/dissectors/packet-iwarp-mpa.c
parentf1d4716d18e43916cfa96d1cc3d9832409a3f470 (diff)
downloadwireshark-c5614625ee36aaec31e716a2879a2492984a1fed.tar.gz
Fix some gcc -Wshadow warnings ....
svn path=/trunk/; revision=31559
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;
}
}