diff options
Diffstat (limited to 'epan/dissectors/packet-ncp-nmas.c')
-rw-r--r-- | epan/dissectors/packet-ncp-nmas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ncp-nmas.c b/epan/dissectors/packet-ncp-nmas.c index a20aadef95..e428a39ed6 100644 --- a/epan/dissectors/packet-ncp-nmas.c +++ b/epan/dissectors/packet-ncp-nmas.c @@ -191,7 +191,7 @@ static const value_string nmas_errors_enum[] = { static int align_4(tvbuff_t *tvb, int aoffset) { - if (tvb_length_remaining(tvb, aoffset) > 4 ) { + if (tvb_captured_length_remaining(tvb, aoffset) > 4 ) { return (aoffset%4); } return 0; |