aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ua.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-12-09 20:51:32 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-12-09 20:51:32 +0000
commite383ad9b18d2c5d9b2b086ae9671678de34ef579 (patch)
tree2560e0d19cd5811e73748324e5bc610346bd6502 /epan/dissectors/packet-ua.c
parentcb1cb946d39b29938c9578881a8a121c5f8519f2 (diff)
From packet-ua, pass a pointer to direction rather than direction itself. In packet-ua3g, reject the packet if data is NULL.
svn path=/trunk/; revision=53887
Diffstat (limited to 'epan/dissectors/packet-ua.c')
-rw-r--r--epan/dissectors/packet-ua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ua.c b/epan/dissectors/packet-ua.c
index 1eefac4987..5e9ad29733 100644
--- a/epan/dissectors/packet-ua.c
+++ b/epan/dissectors/packet-ua.c
@@ -143,7 +143,7 @@ static void uadecode(e_ua_direction direction,
call_dissector_with_data(ua3g_handle,
tvb_new_subset(tvb, offset, length, length),
pinfo,
- tree, (void*)direction);
+ tree, &direction);
break;
}
default: