2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 04:47:40 +00:00

303 Commits

Author SHA1 Message Date
Ted Lemon
e9a37ce5d0 Add agent option universe. 1998-04-19 23:20:06 +00:00
Ted Lemon
f4c340534d Add dhcp_option_lookup and agent_option_lookup functions. 1998-04-19 23:19:14 +00:00
Ted Lemon
2367591ef2 Interactive client for browsing internal database. 1998-04-09 05:18:56 +00:00
Ted Lemon
6f76b6ac67 Allow for null trees. 1998-04-09 04:31:59 +00:00
Ted Lemon
05c680bf8f No message for dissociate_lease(). 1998-04-09 04:30:41 +00:00
Ted Lemon
fb1989a8aa Check HAVE_SIN_LEN in sockaddr_dl code. Kludge hardware address length for now if HAVE_SIN_LEN isn't set. Return pointer to struct proto from add_protocol. 1998-04-09 04:30:00 +00:00
Ted Lemon
8028ab1d09 Add min-lease-time, min-secs and use-lease-addr-for-default-route 1998-04-09 04:28:20 +00:00
Ted Lemon
3b08cf9aea Add interact.c 1998-04-09 04:27:38 +00:00
Ted Lemon
2ca2eda92d Add dissociate_lease(). Abandon leases but don't _really_ abandon them - sort them back into the list so that they can be reclaimed later. 1998-03-17 18:19:44 +00:00
Ted Lemon
68dda014a0 Allow trailing dot in hostnames. 1998-03-17 06:13:02 +00:00
Ted Lemon
0a98d49899 If client sends a packet with a larger option buffer than allowed in the standard, use the same size option buffer. 1998-03-17 06:12:17 +00:00
Ted Lemon
f258bd88eb Do memcpy inside of if statement since results are only used there. Add ns_inaddr_lookup (commented out for now). 1998-03-17 06:11:25 +00:00
Ted Lemon
89698b984b Store query in query buffer in query structure, not in the query structure itself. 1998-03-17 06:09:59 +00:00
Ted Lemon
c209242f8a Fix line buffer handling 1998-03-17 06:09:11 +00:00
Ted Lemon
4085b4754f Don't memset allocated memory if we didn't allocate it. 1998-03-17 06:08:49 +00:00
Ted Lemon
62f461bcf9 Make install directories from top down. 1998-03-17 06:08:19 +00:00
Ted Lemon
a7822eac77 Declare arguments that can be promoted so that the compiler's behaviour doesn't change depending on whether or not it follows ANSI. Fix signed vs. unsigned char discrepencies. 1998-03-16 06:19:46 +00:00
Ted Lemon
69858972fd Clean up unsigned char vs. signed char discrepencies. 1998-03-16 06:17:37 +00:00
Ted Lemon
15c1fd2cd8 Declare arguments that can be promoted so that the compiler's behaviour doesn't change depending on whether or not it follows ANSI. 1998-03-16 06:16:54 +00:00
Ted Lemon
0daf3ee5fc Clean up bogus Sun CC pointer type mismatches. 1998-03-16 06:14:51 +00:00
Ted Lemon
29d4ebe642 Clean up bogus Sun CC pointer type mismatches. Clean up signed vs. unsigned character pointer mismatches. 1998-03-16 06:13:01 +00:00
Ted Lemon
fb74bda94f Include dhcpd.h only once. Clean up dangling ifdef. Clean up interface discovery messages. 1998-03-16 06:11:03 +00:00
Ted Lemon
338303a442 Prevent some type incompatibility warnings. 1998-03-15 21:16:39 +00:00
Ted Lemon
5786c19680 DLPI support, contributed by Eric James Negaard. 1998-03-15 20:55:19 +00:00
Ted Lemon
13ee152c43 Don't mention compiling with BPF if user has multiple interfaces - if it's not happening now, it probably doesn't work. Also, correct = vs == confusion that was causing packets to go out with bogus destination addresses. 1998-03-15 20:54:20 +00:00
Ted Lemon
edca2b1a03 Add a comment to document the non-presence of a Y2K bug, since people are getting paranoid about that. 1998-03-15 20:53:12 +00:00
Ted Lemon
5be6694416 Reword dns query code 1998-03-15 20:50:53 +00:00
Ted Lemon
9de7f52f69 Document that NBNS and WINS are the same thing 1998-03-15 20:50:23 +00:00
Ted Lemon
81477e9101 Parse agent options specially. Pack agent options into outgoing messages if supplied. Allow caller to pass dhcp_max_message_size into cons_options if the original packet is no longer available. 1998-02-06 01:18:33 +00:00
Ted Lemon
7e20426119 Adjust provided functionality to be compatible with asynchronous resolver. 1998-01-12 01:01:44 +00:00
Ted Lemon
0a8ee595f1 Handle ICMP packets with IP header options correctly. 1998-01-12 01:00:42 +00:00
Ted Lemon
eb0b66697b Preliminary rewrite of asynchronous DNS code (needs work) 1998-01-12 01:00:09 +00:00
Ted Lemon
1bf1747a17 Add dlpi.c 1998-01-12 00:40:53 +00:00
Ted Lemon
357708da5a Ignore lines in resolv.conf whose first token isn't recognized. 1997-12-06 04:04:07 +00:00
Ted Lemon
161d49ebc8 Handle token ring... 1997-12-06 04:03:37 +00:00
Ted Lemon
ba41d7a4ea Don't use sun_len on systems that don't support it 1997-11-29 07:52:33 +00:00
Ted Lemon
1ab32dffc5 %02x, not %2.2x 1997-11-29 07:52:10 +00:00
Ted Lemon
707260f98f Test return value of socket for <0, not ==0 to indicate failure. 1997-11-29 07:51:49 +00:00
Ted Lemon
93ad415e65 Use ifp -> ifr_name, not ifr.ifr_name, which isn't yet initialized. errno, not ERRNO. 1997-11-29 07:51:09 +00:00
Ted Lemon
6ba81331d1 Fix typo in comment. 1997-11-22 07:51:38 +00:00
Ted Lemon
3b1f38df93 catted man page for nroff-less systems 1997-11-22 07:06:23 +00:00
Ted Lemon
a3b267e970 Add broadcast_addr function which produces the broadcast address of a subnet given the subnet number and subnet mask. 1997-11-22 00:45:55 +00:00
Ted Lemon
73543ee71e Build and install dhcp-options.5 1997-11-21 23:46:16 +00:00
Ted Lemon
0e084e8ce0 Documentation for DHCP option declaration syntax 1997-11-21 23:43:50 +00:00
Ted Lemon
7e0f16d0a8 Support hostname keyword 1997-10-29 18:32:53 +00:00
Ted Lemon
60e173c0a2 systat -> sysconf 1997-10-20 22:11:44 +00:00
Ted Lemon
73d0a743c4 Define quiet_interface_discovery. Don't consider EAGAIN or EINTR to be fatal in poll(). 1997-10-20 21:47:54 +00:00
Ted Lemon
3648a2a167 Don't print startup banner if quiet_interface_discovery is set 1997-10-20 21:47:15 +00:00
Ted Lemon
c1ca5fc559 System status message protocol 1997-09-16 18:15:44 +00:00
Ted Lemon
eb0a9b2a16 Only use 64-byte option buffer for BOOTP packets 1997-09-16 18:15:25 +00:00