Don't remove a preference, make it obsolete instead.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 6 Nov 2006 11:41:02 +0000 (11:41 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 6 Nov 2006 11:41:02 +0000 (11:41 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19818 f5534014-38df-0310-8fa8-9805f1628bb7

asn1/ldap/packet-ldap-template.c
epan/dissectors/packet-ldap.c

index aab1769931bb82ff8448c9bed947a0721f11c637..fe301370dda6517680e8dd1edfe40647b1c4610f 100644 (file)
@@ -1629,6 +1629,8 @@ void proto_register_ldap(void) {
                                 "Set the port for LDAP operations",
                                 10, &ldap_tcp_port);
 
+  prefs_register_obsolete_preference(ldap_module, "max_pdu");
+
   proto_cldap = proto_register_protocol(
          "Connectionless Lightweight Directory Access Protocol",
          "CLDAP", "cldap");
index 7e12b6d89fa76641b845be8497565880fe674f58..666dce0af5092eb91302544e2869ffceecb32cc3 100644 (file)
@@ -4663,6 +4663,8 @@ void proto_register_ldap(void) {
                                 "Set the port for LDAP operations",
                                 10, &ldap_tcp_port);
 
+  prefs_register_obsolete_preference(ldap_module, "max_pdu");
+
   proto_cldap = proto_register_protocol(
          "Connectionless Lightweight Directory Access Protocol",
          "CLDAP", "cldap");
@@ -4739,7 +4741,7 @@ proto_reg_handoff_ldap(void)
 
 
 /*--- End of included file: packet-ldap-dis-tab.c ---*/
-#line 1699 "packet-ldap-template.c"
+#line 1701 "packet-ldap-template.c"
        
 
 }