From ad55d65357afcf86af7435d4193ac639077db1ed Mon Sep 17 00:00:00 2001 From: jake Date: Mon, 23 Oct 2006 05:30:37 +0000 Subject: [PATCH] From Stephen Fisher: Here is a patch to make a few small fixes to packet-wlccp.c: git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19661 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-wlccp.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/epan/dissectors/packet-wlccp.c b/epan/dissectors/packet-wlccp.c index d6386970c2..185b45ac05 100644 --- a/epan/dissectors/packet-wlccp.c +++ b/epan/dissectors/packet-wlccp.c @@ -24,7 +24,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Version 0x00 was reverse engineered */ @@ -93,7 +93,8 @@ static const value_string wlccp_node_type_vs[] = { { 4, "Local Context Manager (LCM)" }, { 8, "Campus Context Manager (CCM)" }, { 0x10, "Infrastructure (ICN)" }, - { 0x40, "Client" } + { 0x40, "Client" }, + { 0, NULL } }; static const value_string cisco_pid_vals[] = { @@ -117,7 +118,7 @@ static const value_string cisco_pid_vals[] = { #define F_MIC (1<<7) #define WLCCP_UDP_PORT 2887 -/* WLCCP also uses an LCC OUI type and an ethertype */ +/* WLCCP also uses an LLC OUI type and an ethertype */ /* Forward declaration we need below */ void proto_reg_handoff_wlccp(void); @@ -176,8 +177,9 @@ dissect_wlccp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_item *ti; proto_tree *wlccp_tree, *wlccp_type_tree, *wlccp_flags_tree; gboolean relay_flag; + guint8 version; guint16 type, flags; - guint offset = 0, version; + guint offset = 0; /* Make entries in Protocol column and Info column on summary display */ if (check_col(pinfo->cinfo, COL_PROTOCOL)) -- 2.25.1