diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-04-20 01:14:42 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-04-20 01:14:42 +0000 |
commit | e79c4d7ce9e6e304f4c83bd4243875312ab7d352 (patch) | |
tree | 33d9749220a7963aae81ca80c0f4adf6d4abb6b5 /packet-nlsp.c | |
parent | 11fb90fe114da8203fb384db119867508b1a6214 (diff) |
Under Solaris, strlen() segfaults if you pass it a NULL. Replace all of the
NULL blurbs in the hf_register_info definition with empty strings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7509 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-nlsp.c')
-rw-r--r-- | packet-nlsp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packet-nlsp.c b/packet-nlsp.c index b436b4c7e3..d3abbdd76a 100644 --- a/packet-nlsp.c +++ b/packet-nlsp.c @@ -1,7 +1,7 @@ /* packet-nlsp.c * Routines for NetWare Link Services Protocol * - * $Id: packet-nlsp.c,v 1.5 2003/04/06 02:31:35 guy Exp $ + * $Id: packet-nlsp.c,v 1.6 2003/04/20 01:14:42 gerald Exp $ * * Based on ISIS dissector by Stuart Stanley <stuarts@mxmail.net> * @@ -1585,20 +1585,20 @@ proto_register_nlsp(void) { &hf_nlsp_hello_circuit_type, { "Circuit Type", "nlsp.hello.circuit_type", FT_UINT8, BASE_DEC, VALS(nlsp_hello_circuit_type_vals), NLSP_HELLO_CTYPE_MASK, - NULL, HFILL }}, + "", HFILL }}, { &hf_nlsp_hello_holding_timer, { "Holding Timer", "nlsp.hello.holding_timer", FT_UINT8, BASE_DEC, - NULL, 0x0, NULL, HFILL }}, + NULL, 0x0, "", HFILL }}, { &hf_nlsp_hello_holding_timer, { "Holding Timer", "nlsp.hello.holding_timer", FT_UINT8, BASE_DEC, - NULL, 0x0, NULL, HFILL }}, + NULL, 0x0, "", HFILL }}, { &hf_nlsp_hello_priority, { "Priority", "nlsp.hello.priority", FT_UINT8, BASE_DEC, NULL, NLSP_HELLO_PRIORITY_MASK, - NULL, HFILL }}, + "", HFILL }}, { &hf_nlsp_lsp_sequence_number, { "Sequence Number", "nlsp.sequence_number", |