aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@ns.aus.com>2003-05-22 17:11:18 +0000
committerRichard Sharpe <sharpe@ns.aus.com>2003-05-22 17:11:18 +0000
commit77fe92c28d60bff5a6a4680da69ce6c69fb729a8 (patch)
treecd26fe49535193cf0289200503434c11957901e0
parente6359f68eed8a7172bd63187b9e424b880be06c0 (diff)
A small fix to packet-rpc.c noticed by Tony Schene.
Fixes a mistake I introduced ... I am still seeing malformed packets on secinfo stuff, which I hope to fix soon. svn path=/trunk/; revision=7715
-rw-r--r--packet-rpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-rpc.c b/packet-rpc.c
index bab78f0831..803d0b0ae6 100644
--- a/packet-rpc.c
+++ b/packet-rpc.c
@@ -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;
}