aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/catapult_dct2000.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2006-09-05 16:05:23 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2006-09-05 16:05:23 +0000
commit2e1177c328b5f82d098e76eaf0ee3ed10ff2be53 (patch)
treeef49cde2000f57e115adc2ce7fbb1df4491d12e7 /wiretap/catapult_dct2000.c
parent56e1dd7780baa742a8827e917a389568c4a6edf8 (diff)
For DCT2000, show better transport info:
- for FP over AAL2, add CID to AAL tree - for IPPRIM protocols, show IPV4 addresses in src & dst columns svn path=/trunk/; revision=19156
Diffstat (limited to 'wiretap/catapult_dct2000.c')
-rw-r--r--wiretap/catapult_dct2000.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/wiretap/catapult_dct2000.c b/wiretap/catapult_dct2000.c
index 3753b9acec..da5b126958 100644
--- a/wiretap/catapult_dct2000.c
+++ b/wiretap/catapult_dct2000.c
@@ -1226,6 +1226,12 @@ void set_aal_info(union wtap_pseudo_header *pseudo_header, packet_direction_t di
/* 0 means we don't know how many cells the frame comprises. */
pseudo_header->dct2000.inner_pseudo_header.atm.cells = 0;
+
+ /* cid is last byte */
+ pseudo_header->dct2000.inner_pseudo_header.atm.aal2_cid =
+ ((hex_from_char(aal_header_chars[10]) << 4) |
+ hex_from_char(aal_header_chars[11]));
+
}