From 16f0ca977a2e216c73133d028f20465fb04ea602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Wed, 5 Jul 2006 14:57:25 +0000 Subject: [PATCH] Add a comment about a Cisco proprietary tag. svn path=/trunk/; revision=18663 --- epan/dissectors/packet-ieee80211.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c index 3a562c3527..a35e2281a8 100644 --- a/epan/dissectors/packet-ieee80211.c +++ b/epan/dissectors/packet-ieee80211.c @@ -1854,6 +1854,8 @@ add_tagged_field (packet_info * pinfo, proto_tree * tree, tvbuff_t * tvb, int of tag_len); break; } + /* A cisco AP transmits the first 15 bytes of the AP name, probably + followed by '\0' for ASCII termination */ g_snprintf (out_buff, SHORT_STR, "%.16s", tvb_format_stringzpad(tvb, offset + 12, 16)); out_buff[SHORT_STR-1] = '\0';