diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-01-13 01:55:36 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-01-13 01:55:36 +0000 |
commit | c7ff72f53e0076de37c06187376283a5444fdc11 (patch) | |
tree | 1b84f761bf4c8a03702bec73d8bc758b32ce3616 /packet-ses.c | |
parent | b4b358231402e5878993fb882687db09f041e68c (diff) |
From Yuriy Sidelnikov: fix a bug caused by incorrect by-hand application
of an earlier one of his patches.
svn path=/trunk/; revision=9648
Diffstat (limited to 'packet-ses.c')
-rw-r--r-- | packet-ses.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packet-ses.c b/packet-ses.c index 00799c3d9f..b070588048 100644 --- a/packet-ses.c +++ b/packet-ses.c @@ -2,7 +2,7 @@ * * Routine to dissect ISO 8327-1 OSI Session Protocol packets * -* $Id: packet-ses.c,v 1.7 2004/01/13 01:52:09 guy Exp $ +* $Id: packet-ses.c,v 1.8 2004/01/13 01:55:36 guy Exp $ * * Yuriy Sidelnikov <YSidelnikov@hotmail.com> * @@ -1019,17 +1019,17 @@ dissect_spdu(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, /* do we have OSI presentation packet dissector ? */ if(!pres_handle) { - /* save type of session pdu. We'll need it in the presentation dissector */ - save_private_data = pinfo->private_data; - pinfo->private_data = &session; call_dissector(data_handle, next_tvb, pinfo, tree); - pinfo->private_data = save_private_data; } else { + /* save type of session pdu. We'll need it in the presentation dissector */ + save_private_data = pinfo->private_data; + pinfo->private_data = &session; call_dissector(pres_handle, next_tvb, pinfo, tree); + pinfo->private_data = save_private_data; } /* |