Ted Lemon
7804c030de
Fix call to snprintf
2000-02-02 20:47:55 +00:00
Ted Lemon
9458e9aa07
Minor solaris fixes.
2000-02-02 20:01:50 +00:00
Ted Lemon
347de8bdb6
Brian Murrell's changes to allow the client to be directed using OMAPI.
2000-01-28 20:30:37 +00:00
Ted Lemon
4bd8800e89
Fix compilation errors introduced in the last set of checkins.
2000-01-26 14:56:18 +00:00
Ted Lemon
cf78bf2090
Support variable scoping. Support debugging malloc.
2000-01-25 00:58:57 +00:00
Ted Lemon
31730f17c7
struct hardware conversion.
2000-01-05 18:01:15 +00:00
Ted Lemon
d9eefc5dec
Mass commit for Brian Murrell.
1999-11-20 18:36:32 +00:00
Ted Lemon
6767b59234
- Add dummies for agent information option handling.
...
- Don't spin if /tmp missing or some other unexpected error happens when
invoking client script.
1999-11-13 23:49:41 +00:00
Ted Lemon
78a33b8260
Don't log to stderr if -q is set.
1999-10-30 14:07:29 +00:00
Ted Lemon
11373fb651
- Allow the user to specify giaddr on the command line, for testing.
...
- If giaddr is specified, and it's not INADDR_LOOPBACK, use port 67 as
the source port and also listen on port 67, since we're pretending to
be a relay agent, and not a client.
- Stagger the first renew by +/- 1/4 of a lease interval, to mitigate 9am
syndrome.
- Stagger startup time by up to five seconds, to even out the startup load.
1999-10-24 19:44:15 +00:00
Ted Lemon
1c0166794d
Correct ordering of log arguments.
1999-10-14 17:40:05 +00:00
Ted Lemon
ab58ff49e0
Fix up args to printf-like functions (thanks to Pedro Ribiero).
1999-10-12 16:00:34 +00:00
Ted Lemon
b1b7b521fe
Get a clean compile with all known gcc warnings.
1999-10-07 06:36:35 +00:00
Ted Lemon
7d7a35faab
Adjust dummy db_startup call.
1999-10-01 03:42:47 +00:00
Ted Lemon
bfdb842e27
Add dummy for find_subnet().
1999-09-28 22:49:10 +00:00
Ted Lemon
628beb0ecd
Add another empty hook for memory.c. Initialize the OMAPI explicitly.
1999-09-09 21:00:13 +00:00
Ted Lemon
0852a27f32
- Fix two stupid bugs that caused filename and server_name not to be usable
...
by the client.
- Rototill expression evaluation calls.
1999-07-31 17:50:41 +00:00
Ted Lemon
3020a2c1f1
Add a -s flag to specify the server IP address (handy for debugging).
1999-07-06 16:48:34 +00:00
Ted Lemon
da38df1433
Pervasive changes to support leased_address, reverse and binary_to_ascii.
1999-07-02 20:58:48 +00:00
Ted Lemon
31020a36fd
Update version info.
1999-05-07 17:32:38 +00:00
Ted Lemon
426f5bd08b
Update version number.
1999-05-06 20:44:58 +00:00
Ted Lemon
ea573d1a93
Update version number.
1999-04-25 13:21:52 +00:00
Ted Lemon
05223b724c
Update version.
1999-04-23 23:35:44 +00:00
Ted Lemon
7026ed182f
Update version.
1999-04-12 22:24:24 +00:00
Ted Lemon
70e3642f9c
Update version.
1999-04-08 19:47:55 +00:00
Ted Lemon
4bf33120c3
Use option_state_reference instead of just copying the pointer.
1999-04-05 19:00:50 +00:00
Ted Lemon
230e73e42d
- Adjust option_state-related calls to use new, more general calls.
1999-04-05 15:19:59 +00:00
Ted Lemon
37fc56b47d
Update version
1999-03-30 21:54:03 +00:00
Ted Lemon
196be7203b
Update version.
1999-03-29 23:00:02 +00:00
Ted Lemon
96c2624b8d
Adjust version numbers.
1999-03-29 19:04:36 +00:00
Ted Lemon
f345b36d53
Fix a bug in BOOTP broadcast flag setting for DHCPDISCOVER.
1999-03-29 18:49:58 +00:00
Ted Lemon
6869f9360f
Update version number.
1999-03-26 21:27:24 +00:00
Ted Lemon
2d1b06e071
Pull up changes in Patchlevel 19
1999-03-26 19:19:46 +00:00
Ted Lemon
af6df788ab
Fix bug in secs handling.
1999-03-25 21:51:29 +00:00
Ted Lemon
f39b6e0089
Update license.
1999-03-16 05:50:46 +00:00
Ted Lemon
9ffa442ca4
Update version string.
1999-03-16 00:17:20 +00:00
Ted Lemon
7d3bc735ce
- Only use broadcast flag if we have to.
...
- Only use our lease address as our source address in RENEWING and
REBINDING states.
- Fix typo in cast.
1999-03-13 18:52:41 +00:00
Ted Lemon
e16f4c3e09
Fix DHCPDECLINE support
1999-03-11 01:46:43 +00:00
Ted Lemon
ce0ec46d27
Pass parameter request list to cons_options.
1999-03-10 20:39:22 +00:00
Ted Lemon
74f45f9642
Sync with 2.0b1pl16. Fix some pool allocation problems.
1999-02-25 23:30:43 +00:00
Ted Lemon
8ae2d59584
Change names of error functions to be more consistent.
1999-02-24 17:56:53 +00:00
Ted Lemon
339b0231e4
Fix up mistakes in recent 2.0 pullups.
1999-02-14 19:40:22 +00:00
Ted Lemon
62d0cb477b
Pull in new changes in 2.0.
1999-02-14 18:37:42 +00:00
Ted Lemon
73530742cd
Use scoping correctly.
1998-11-11 07:48:23 +00:00
Ted Lemon
02d9e45397
Add support for pseudo-clients
1998-11-09 02:43:23 +00:00
Ted Lemon
2455808fa3
Fix some lingering bugs from the expression evaluation changes.
1998-11-06 00:11:24 +00:00
Ted Lemon
02a015fb46
Fix up all the option handling code to use evaluation instead of fixed data.
1998-11-05 18:43:23 +00:00
Ted Lemon
ae6ea8072b
Fix backup_cutoff handling.
1998-04-09 04:26:24 +00:00
Ted Lemon
fcaec4ef11
Check chaddr as well as xid in all cases. hw_address hangs off of interface, not client data.
1998-03-16 06:08:41 +00:00
Ted Lemon
5c2f78b459
If interfaces are specified, don't configure any that weren't. In INIT-REBOOT state, initialize the xid before calling make_request(). Check chaddr as well as xid to validate return from server. Make write_client_lease rewrite the client lease file after 20 leases have been written. Fix an xid bug in DHCPRELEASE code. Document Y2K non-bug.
1998-03-15 21:04:52 +00:00