diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2007-02-14 15:41:43 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2007-02-14 15:41:43 +0000 |
commit | 958a67763dc237273389d94b44ca570a49655024 (patch) | |
tree | dc2a9b28397c249c1ce622267b4d3d9b9144f233 /epan/dissectors/packet-k12.c | |
parent | b3fcfe4fd47af421bed020d2b56331a1479072c0 (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
svn path=/trunk/; revision=20812
Diffstat (limited to 'epan/dissectors/packet-k12.c')
-rw-r--r-- | epan/dissectors/packet-k12.c | 7 |
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) |