aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipsec.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-01-03 07:53:48 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-01-03 07:53:48 +0000
commit4ec580ef9d6d413139912f852bddb3b49441a364 (patch)
tree8b8fd854a5439a0fff7bcda55cebf9e519245b3c /packet-ipsec.c
parent8ed66959744134d89fe6d6305249094607477ad2 (diff)
Add a new "prefs_register_protocol()" routine, which is like
"prefs_register_module()" except that it takes a protocol index as returned by "proto_register_protocol()" as its first argument, rather than taking two character strings as arguments as its first two arguments, and uses the protocol's abbreviation as the name to use for preferences in the preferences file and the "-o" flag and uses the protocol's short name as the name to use in the tabs in the "Edit->Preferences" window. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2812 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ipsec.c')
-rw-r--r--packet-ipsec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ipsec.c b/packet-ipsec.c
index 54b75b7eba..3f6c1d3ad5 100644
--- a/packet-ipsec.c
+++ b/packet-ipsec.c
@@ -1,7 +1,7 @@
/* packet-ipsec.c
* Routines for IPsec/IPComp packet disassembly
*
- * $Id: packet-ipsec.c,v 1.23 2001/01/03 06:55:29 guy Exp $
+ * $Id: packet-ipsec.c,v 1.24 2001/01/03 07:53:43 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -356,7 +356,7 @@ proto_register_ipsec(void)
proto_register_subtree_array(ett, array_length(ett));
/* Register a configuration option for placement of AH payload dissection */
- ah_module = prefs_register_module("ah", "AH", NULL);
+ ah_module = prefs_register_protocol(proto_ah, NULL);
prefs_register_bool_preference(ah_module, "place_ah_payload_in_subtree",
"Place AH payload in subtree",
"Whether the AH payload decode should be placed in a subtree",