aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ospf.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-01-03 16:41:08 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-01-03 16:41:08 +0000
commit5b7f184296c4e10f933d0448f40d267fb1b583f7 (patch)
treee67e6a292cf66edf79431f30778f239fc9468f4e /packet-ospf.c
parentb151ddecbb6800271e1cc2b8b0d2bb355dadbe89 (diff)
Ensure that all value_string arrays end in {0, NULL}. Dissectors got away
with not terminating their arrays because they knew the limits of the value used to look up strings in the value_string array, but the dfilter_expr_dlg does not know these limits and must rely on the terminating {0, NULL} record. Also, in SNA fixed a bug in which a field should have been defined as FT_UINT8 but was defined as FT_BOOLEAN. In WTP, fixed a value string which had duplicate keys. svn path=/trunk/; revision=2817
Diffstat (limited to 'packet-ospf.c')
-rw-r--r--packet-ospf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-ospf.c b/packet-ospf.c
index e353956e25..eeb18e07be 100644
--- a/packet-ospf.c
+++ b/packet-ospf.c
@@ -2,7 +2,7 @@
* Routines for OSPF packet disassembly
* (c) Copyright Hannes R. Boehm <hannes@boehm.org>
*
- * $Id: packet-ospf.c,v 1.33 2001/01/03 06:55:30 guy Exp $
+ * $Id: packet-ospf.c,v 1.34 2001/01/03 16:41:07 gram Exp $
*
* At this time, this module is able to analyze OSPF
* packets as specified in RFC2328. MOSPF (RFC1584) and other
@@ -500,6 +500,7 @@ static const value_string mpls_link_stlv_str[] = {
{MPLS_LINK_MAX_RES_BW, "Maximum Reservable Bandwidth"},
{MPLS_LINK_UNRES_BW, "Unreserved Bandwidth"},
{MPLS_LINK_COLOR, "Resource Class/Color"},
+ {0, NULL},
};
/*