dhcpd.h: unused defines
Kevin Steves
stevesk at pobox.com
Fri Dec 8 16:54:45 UTC 2006
I do not see these used/referenced.
--- dhcp-3.0.5-orig/includes/dhcpd.h Wed May 17 13:16:59 2006
+++ dhcp-3.0.5/includes/dhcpd.h Fri Dec 8 08:49:17 2006
@@ -442,61 +442,6 @@
# define DEFAULT_DDNS_TTL 3600
#endif
-/* Client option names */
-
-#define CL_TIMEOUT 1
-#define CL_SELECT_INTERVAL 2
-#define CL_REBOOT_TIMEOUT 3
-#define CL_RETRY_INTERVAL 4
-#define CL_BACKOFF_CUTOFF 5
-#define CL_INITIAL_INTERVAL 6
-#define CL_BOOTP_POLICY 7
-#define CL_SCRIPT_NAME 8
-#define CL_REQUESTED_OPTIONS 9
-#define CL_REQUESTED_LEASE_TIME 10
-#define CL_SEND_OPTIONS 11
-#define CL_MEDIA 12
-#define CL_REJECT_LIST 13
-
-#ifndef CL_DEFAULT_TIMEOUT
-# define CL_DEFAULT_TIMEOUT 60
-#endif
-
-#ifndef CL_DEFAULT_SELECT_INTERVAL
-# define CL_DEFAULT_SELECT_INTERVAL 0
-#endif
-
-#ifndef CL_DEFAULT_REBOOT_TIMEOUT
-# define CL_DEFAULT_REBOOT_TIMEOUT 10
-#endif
-
-#ifndef CL_DEFAULT_RETRY_INTERVAL
-# define CL_DEFAULT_RETRY_INTERVAL 300
-#endif
-
-#ifndef CL_DEFAULT_BACKOFF_CUTOFF
-# define CL_DEFAULT_BACKOFF_CUTOFF 120
-#endif
-
-#ifndef CL_DEFAULT_INITIAL_INTERVAL
-# define CL_DEFAULT_INITIAL_INTERVAL 10
-#endif
-
-#ifndef CL_DEFAULT_BOOTP_POLICY
-# define CL_DEFAULT_BOOTP_POLICY P_ACCEPT
-#endif
-
-#ifndef CL_DEFAULT_REQUESTED_OPTIONS
-# define CL_DEFAULT_REQUESTED_OPTIONS \
- { DHO_SUBNET_MASK, \
- DHO_BROADCAST_ADDRESS, \
- DHO_TIME_OFFSET, \
- DHO_ROUTERS, \
- DHO_DOMAIN_NAME, \
- DHO_DOMAIN_NAME_SERVERS, \
- DHO_HOST_NAME }
-#endif
-
struct group_object {
OMAPI_OBJECT_PREAMBLE;
More information about the dhcp-hackers
mailing list