diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-10-30 16:37:55 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-10-30 16:37:55 +0000 |
commit | a4b536a2c0e4f1174a215c42025e4d601342c7bc (patch) | |
tree | b42e8501b741176fc79dc3b037541d9570015087 /epan/dissectors/packet-nlsp.c | |
parent | c8395e01b56fb8c71fea7dd3cb543f79e4f7b92a (diff) |
Use value_string_ext fcns to access two value_string arrays.
Minor whitespace cleanup.
svn path=/trunk/; revision=34719
Diffstat (limited to 'epan/dissectors/packet-nlsp.c')
-rw-r--r-- | epan/dissectors/packet-nlsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-nlsp.c b/epan/dissectors/packet-nlsp.c index 2e094fe303..95917300b6 100644 --- a/epan/dissectors/packet-nlsp.c +++ b/epan/dissectors/packet-nlsp.c @@ -824,7 +824,7 @@ dissect_lsp_svcs_info_clv(tvbuff_t *tvb, proto_tree *tree, int offset, if (tree) { proto_tree_add_text(tree, tvb, offset, 2, "Socket: %s", - val_to_str(tvb_get_ntohs(tvb, offset), ipx_socket_vals, + val_to_str_ext(tvb_get_ntohs(tvb, offset), &ipx_socket_vals_ext, "Unknown (0x%04x)")); } offset += 2; @@ -838,7 +838,7 @@ dissect_lsp_svcs_info_clv(tvbuff_t *tvb, proto_tree *tree, int offset, if (tree) { proto_tree_add_text(tree, tvb, offset, 2, "Type: %s", - val_to_str(tvb_get_ntohs(tvb, offset), server_vals, + val_to_str_ext(tvb_get_ntohs(tvb, offset), &novell_server_vals_ext, "Unknown (0x%04x)")); } offset += 2; |