A small fix to packet-rpc.c noticed by Tony Schene.
authorsharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 22 May 2003 17:11:18 +0000 (17:11 +0000)
committersharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 22 May 2003 17:11:18 +0000 (17:11 +0000)
Fixes a mistake I introduced ...

I am still seeing malformed packets on secinfo stuff, which I hope to fix
soon.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7715 f5534014-38df-0310-8fa8-9805f1628bb7

packet-rpc.c

index bab78f08318adc862c56970c6b9a32a55cbedf40..803d0b0ae62e141fc2503eebd8724e8c2f091caa 100644 (file)
@@ -2,7 +2,7 @@
  * Routines for rpc dissection
  * Copyright 1999, Uwe Girlich <Uwe.Girlich@philosys.de>
  *
- * $Id: packet-rpc.c,v 1.127 2003/05/21 02:48:40 sharpe Exp $
+ * $Id: packet-rpc.c,v 1.128 2003/05/22 17:11:18 sharpe Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -1059,6 +1059,7 @@ dissect_rpc_authgss_token(tvbuff_t* tvb, proto_tree* tree, int offset,
        new_tvb = tvb_new_subset(tvb, offset, length, reported_length);
        len_consumed = call_dissector(gssapi_handle, new_tvb, pinfo, gtree);
        offset += len_consumed;
+       offset = rpc_roundup(offset);
 
        return offset;
 }