aboutsummaryrefslogtreecommitdiffstats
path: root/epan/osi-utils.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-05-27 11:55:40 -0700
committerGuy Harris <guy@alum.mit.edu>2018-05-27 18:56:41 +0000
commit101b692569f17d14f7165446a8a2ae26415057cb (patch)
treee64e54ea4e4606a2b58a6249a4e68ce43c27f0a5 /epan/osi-utils.h
parentaf2481656874e2b7a21e123bb956162d743f41d4 (diff)
Fix incorrect formatting of NSAP area addresses/address prefixes.
If the area address/address prefix is 13 octets long, use the 13th octet, not the 21st octet; the latter is *not* part of the area address/address prefix, and might either not be in the packet or might be some random other part of the packet. Add/expand comments while we're at it. Bug: 14744 Change-Id: I7b90318a72a49b67d8ec17952add528185fd064b Reviewed-on: https://code.wireshark.org/review/27848 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/osi-utils.h')
-rw-r--r--epan/osi-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/osi-utils.h b/epan/osi-utils.h
index ad7f1f77cb..4e55a0f4eb 100644
--- a/epan/osi-utils.h
+++ b/epan/osi-utils.h
@@ -28,7 +28,7 @@
#define RFC1237_AA_LEN 3
#define RFC1237_RSVD_LEN 2
#define RFC1237_RD_LEN 2
-#define RFC1237_AREA_LEN 3
+#define RFC1237_AREA_LEN 3 /* XXX - this not the length of the Area field in RFC 1237; what is it? */
/*
* NSAP AFI values.