aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-08-08 22:53:14 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-08-08 22:53:14 +0000
commit5c86e7fd4c70e5cf2d2dcd0679439335ba5b67a7 (patch)
tree8d5f9db58a5f087f33f3ddd55f89b7c649e2cd20 /epan/packet.c
parent8ad0c82614b1c76f9237bb22fa97e2140b6ca597 (diff)
add pinfo fields clnp_srcref and clnp_dstref to the clnp dissector, similar to the srcport / destport already existing. As simply using srcport / destport for this will confuse mixed protocol usage (like RFC1006 ISOonTCP), I've added explicit clnp fields.
This way, protocols on top of COTP / CLNP have at least a chance to do reassembling correct. svn path=/trunk/; revision=22473
Diffstat (limited to 'epan/packet.c')
-rw-r--r--epan/packet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/packet.c b/epan/packet.c
index a99f67585b..9186d9784f 100644
--- a/epan/packet.c
+++ b/epan/packet.c
@@ -316,6 +316,8 @@ dissect_packet(epan_dissect_t *edt, union wtap_pseudo_header *pseudo_header,
edt->pi.tcp_tree = NULL;
edt->pi.dcerpc_procedure_name="";
edt->pi.sccp_info = NULL;
+ edt->pi.clnp_srcref = NULL;
+ edt->pi.clnp_dstref = NULL;
TRY {
edt->tvb = tvb_new_real_data(pd, fd->cap_len, fd->pkt_len);