aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ospf.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2012-08-25 01:20:32 +0000
committerBill Meier <wmeier@newsguy.com>2012-08-25 01:20:32 +0000
commit5452b8a20c9edcb8b3c712eaf75692c5794b0788 (patch)
tree09f8735406ef453ca4e46fe3e3ccbb48a01a2b88 /epan/dissectors/packet-ospf.c
parent030604ec29b81906b184a5c50d4999503b9037d6 (diff)
Extern (and use) extended value string instead of the associated value string array.
svn path=/trunk/; revision=44665
Diffstat (limited to 'epan/dissectors/packet-ospf.c')
-rw-r--r--epan/dissectors/packet-ospf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ospf.c b/epan/dissectors/packet-ospf.c
index 3976ee0286..38c917caec 100644
--- a/epan/dissectors/packet-ospf.c
+++ b/epan/dissectors/packet-ospf.c
@@ -2196,9 +2196,9 @@ dissect_ospf_lsa_mpls(tvbuff_t *tvb, int offset, proto_tree *tree,
for (i = 0; i < (stlv_len - 4) / 4; i++) {
proto_tree_add_text(stlv_tree, tvb, stlv_offset+8+(i*4), 4,
"%s: %d free timeslots",
- val_to_str(tvb_get_guint8(tvb, stlv_offset+8+(i*4)),
- gmpls_sonet_signal_type_str,
- "Unknown Signal Type (%d)"),
+ val_to_str_ext(tvb_get_guint8(tvb, stlv_offset+8+(i*4)),
+ &gmpls_sonet_signal_type_str_ext,
+ "Unknown Signal Type (%d)"),
tvb_get_ntoh24(tvb, stlv_offset + 9 + i*4));
}