aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-k12.c
diff options
context:
space:
mode:
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2007-02-14 15:41:43 +0000
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2007-02-14 15:41:43 +0000
commit07769dd88261b92ec23da010eccf835c3cfc1a2d (patch)
treedc2a9b28397c249c1ce622267b4d3d9b9144f233 /epan/dissectors/packet-k12.c
parentda85a7216df47a599a0d012e97eda35c86414ded (diff)
Change fp_info struct to be more general by removing DCT2000-specific field.
Also: - Fix a division-by-zero error in FP dissector - Correct the way DCT2000 IPPrim addresses and ports are dissected and displayed git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20812 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-k12.c')
-rw-r--r--epan/dissectors/packet-k12.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/epan/dissectors/packet-k12.c b/epan/dissectors/packet-k12.c
index ef98bf6613..380782d294 100644
--- a/epan/dissectors/packet-k12.c
+++ b/epan/dissectors/packet-k12.c
@@ -96,8 +96,11 @@ static void fill_fp_info(fp_info *p_fp_info, guchar *extra_info, guint length) {
if (!p_fp_info || length < 22)
return;
- p_fp_info->release = 0; /* dummy */
- p_fp_info->dct2000_variant = 0; /* dummy */
+ p_fp_info->interface = IuB_Interface;
+
+ p_fp_info->release = 0; /* dummy */
+ p_fp_info->release_year = 0; /* dummy */
+ p_fp_info->release_month = 0; /* dummy */
/* 1=UL, 2=DL */
if (extra_info[15] == 1)