diff options
Diffstat (limited to 'packet-dec-bpdu.c')
-rw-r--r-- | packet-dec-bpdu.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packet-dec-bpdu.c b/packet-dec-bpdu.c index b482a1f353..5b3d2b5cec 100644 --- a/packet-dec-bpdu.c +++ b/packet-dec-bpdu.c @@ -1,24 +1,24 @@ /* packet-dec-bpdu.c * Routines for DEC BPDU (DEC Spanning Tree Protocol) disassembly * - * $Id: packet-dec-bpdu.c,v 1.14 2002/08/02 23:35:48 jmayer Exp $ + * $Id: packet-dec-bpdu.c,v 1.15 2002/08/28 21:00:12 jmayer Exp $ * * Copyright 2001 Paul Ionescu <paul@acorp.ro> - * + * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> * Copyright 1998 Gerald Combs - * + * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * 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. @@ -126,13 +126,13 @@ dissect_dec_bpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } bpdu_type = tvb_get_guint8(tvb, BPDU_TYPE); - + if (check_col(pinfo->cinfo, COL_INFO)) { col_add_str(pinfo->cinfo, COL_INFO, val_to_str(bpdu_type, bpdu_type_vals, "Unknown BPDU type (%u)")); } - + set_actual_length(tvb, DEC_BPDU_SIZE); if (tree) { @@ -197,7 +197,7 @@ dissect_dec_bpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } } -static const true_false_string yesno = { +static const true_false_string yesno = { "Yes", "No" }; |