2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00
Commit Graph

1342 Commits

Author SHA1 Message Date
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
Ted Lemon
ae1844c8a8 Don't exclude dynamic BOOTP from uid test (?) 1997-09-16 18:14:18 +00:00
Ted Lemon
78b8c3061c If sa_len is zero, skip interface. Add remove_protocol. Fix automatic/manual interface selection. 1997-09-16 18:12:32 +00:00
Ted Lemon
62b2bc86a2 Add systat.c 1997-09-16 18:11:22 +00:00
Ted Lemon
0da2916933 Don't do any DNS testing 1997-06-08 04:25:35 +00:00
Ted Lemon
0cbc9e2382 size_t -> ssize_t in return values where < 0 == error 1997-06-08 04:08:01 +00:00
Ted Lemon
732a90b290 Make it a warning rather than an error if resolv.conf is missing. 1997-06-08 04:05:21 +00:00
Ted Lemon
756c989582 When parsing a lease database, correctly transfer the client hostname and hostname to the memory-resident lease structure. 1997-06-08 03:28:01 +00:00
Ted Lemon
4595a58c25 size_t -> ssize_t in return values where < 0 == error 1997-06-08 03:18:09 +00:00
Ted Lemon
469e472a7f Parse client-hostname token 1997-06-06 01:55:15 +00:00
Ted Lemon
cf09117b89 Lose message on short icmp_echoreplies 1997-06-04 20:59:40 +00:00
Ted Lemon
a37e5e0930 Cast sockopt arg to char * for Solaris. 1997-06-03 02:12:20 +00:00