2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00
Commit Graph

878 Commits

Author SHA1 Message Date
Ted Lemon
4b63da96d1 Get rid of a ??? that confuses the Sun compiler. 2001-03-22 07:00:15 +00:00
Ted Lemon
b0b4f89c39 Add a missing else whose absence was causing memory smashes. 2001-03-20 07:26:57 +00:00
Ben Cottrell
c73ced691d Fixed RT 938 having to do with SIOCGIFCONF on Linux. We now do a first
pass in which we pass a null pointer for the buffer, and we will get
back the length of the buffer we should allocate. This is because
if you pass in a buffer that is too small, Linux (unlike other OSes)
will not tell you that it is too small by returning a length greater
than the length you passed in.
2001-03-17 02:11:29 +00:00
Ted Lemon
b3519f23f1 Support NUL characters in STRING tokens. 2001-03-17 00:47:39 +00:00
Ben Cottrell
3d2aa1bff4 More DLPI patches from Joost. His patch was way garbled, but this is my
best interpretation of it. The only thing confusing me is that I thought
he'd fixed all the byte order dependencies in an elegant way, but I
still see some rather ugly #ifdefs in this code. Oh well. At least it
works on minbar.
2001-03-16 22:12:19 +00:00
Ted Lemon
0efc1180e9 Add quotify functions. 2001-03-15 23:17:28 +00:00
Ted Lemon
ef4d4bfdaa Fix an endian bug in trace files (James Brister) 2001-03-14 15:56:27 +00:00
Ted Lemon
f834d4ff91 Use unparsable names for unknown options. 2001-03-14 15:39:32 +00:00
Ted Lemon
aba6b916b6 Fix documentation for sending non-standard options. 2001-03-14 15:38:44 +00:00
Ted Lemon
ae598b4274 Get rid of local debug flag. 2001-03-14 15:36:57 +00:00
Ted Lemon
61126661cf Remove files starting with # in realclean target. 2001-03-01 22:12:16 +00:00
Ted Lemon
530de8b20c Apply a signed vs. unsigned fix suggested by Onno Van Der Linden. 2001-03-01 21:44:31 +00:00
Ted Lemon
0b69dcc870 Change EOF to END_OF_FILE in tokenizer for enum compatibility. 2001-03-01 18:17:09 +00:00
Damien Neil
9345f3ccbb Added tokens for "close", "create", "open", and "help" to the lexer. 2001-02-27 01:15:38 +00:00
Ted Lemon
c466184540 Fix up NetBSD/alpha build. 2001-02-26 22:21:15 +00:00
Ted Lemon
69c620f2eb Update copyright statements. 2001-02-22 22:54:26 +00:00
Ted Lemon
17238faf0f Document backslash quoting. 2001-02-22 22:50:55 +00:00
Ted Lemon
37ee426a25 Get md5.h from dst/ instead of minires/ 2001-02-22 07:37:15 +00:00
Ted Lemon
80ff6258c9 Fix an uninitialized pointer think-o. 2001-02-18 06:53:00 +00:00
Ted Lemon
a7394d157f Fix cross-platform compile warnings 2001-02-17 21:34:56 +00:00
Ted Lemon
7980a66ed5 Apply a fix provided by Takeshi Hagiwara for a long-standing Sunos 4 bug. 2001-02-17 21:17:25 +00:00
Ted Lemon
fbd9c67bed - Set the fallback interface index to -1 to indicate that it doesn't have
one prior to calling interface_stash.
2001-02-17 21:16:44 +00:00
Ted Lemon
84a2288c45 Don't save lease timestamp in database. 2001-02-12 19:46:59 +00:00
Ted Lemon
76d12bd8d0 Update copyright date. 2001-02-12 19:44:54 +00:00
Ted Lemon
98f56cef60 Fix memory leak, bug in nwip option handling. 2001-02-12 19:43:32 +00:00
Ted Lemon
53802791c5 Add support for tracing ICMP messages. 2001-02-12 19:42:21 +00:00
Ted Lemon
eb6b5a2014 Subroutinize some stuff so that it can be called in trace playback. 2001-02-12 19:41:30 +00:00
Ted Lemon
fc33f8c58e Subroutinize some functionality and add in tracing hooks. 2001-02-12 19:40:05 +00:00
Ted Lemon
a568b5bc45 Common tracing subroutines. 2001-02-12 19:38:37 +00:00
Ted Lemon
2e5b6bfd92 Add ctrace.c 2001-02-12 19:37:59 +00:00
Ben Cottrell
c9007bfd68 Doh! Syntax error that I really should have noticed. Hind paw firmly
entrenched in muzzle.
2001-02-02 18:14:17 +00:00
Ben Cottrell
00bb1cad79 Patch from Joost Mulders <dhcp@j-mulders.demon.nl> to make DLPI work better,
especially on Solaris/x86.
2001-01-31 19:00:34 +00:00
Ted Lemon
1891a87e99 Don't dump core if asked to look up an option where there are no options. 2001-01-26 06:17:01 +00:00
Ted Lemon
543ce4f87d Oops, add constant for requesting state 2001-01-26 05:56:29 +00:00
Ted Lemon
1ecf93b561 Follow proper coding standards for allocating refcnted objects. 2001-01-25 21:55:08 +00:00
Ted Lemon
298ab04561 Fix a small nit in the dlpi code. 2001-01-25 21:54:25 +00:00
Ted Lemon
157de15813 - Add a note to the documentation for the slp-directory-agent option
to help users of Novell products.
2001-01-25 21:54:00 +00:00
Ted Lemon
76a8f1634c Fix a small cosmetic error. 2001-01-25 08:24:33 +00:00
Ted Lemon
b49c02cc7f - Fix a possible core dump in option parsing.
- Print error messages in some cases where the parser was breaking
  silently.
2001-01-25 08:23:49 +00:00
Ted Lemon
1472e6f3e4 - Use option_chain_head structure for linked option spaces.
- Fix a memory leak.
2001-01-25 08:21:59 +00:00
Ted Lemon
320eda6ad6 document the user-class option. 2001-01-25 08:20:53 +00:00
Ted Lemon
1687c64b43 Add TRANSMISSION keyword 2001-01-25 08:20:24 +00:00
Ted Lemon
fe48fc2c85 Add allocators for option_chain_head structure. 2001-01-25 08:18:37 +00:00
Ted Lemon
b1c45d8a31 Do careful bounds checking on the incoming fqdn option. 2001-01-19 10:56:06 +00:00
Ted Lemon
6cff8371b5 Fix some compile problems. 2001-01-17 16:56:48 +00:00
Ted Lemon
2c46528f22 Fix equal to compare arbitary types, rather than just data. 2001-01-16 23:15:38 +00:00
Ted Lemon
4cb55919c2 - Print null hardware address as blank, instead of as <null>.
- Use isc_result_totext to print ns update status, now that res_nupdate
  is returning an isc_result_t.
2001-01-16 23:12:47 +00:00
Ted Lemon
1898dcf70d - Fix expression parse context checking.
- Use ISC result codes for NS status checking.
- Add support for parsing Send to generic code.
- Behave correctly if there is no hardware address, or if it fails to parse.
2001-01-16 23:06:06 +00:00
Ted Lemon
33454222e7 Add a send statement that behaves the same as the supersede statement. 2001-01-16 23:00:49 +00:00
Ted Lemon
c50d828053 Use ISC-style result codes, rather than ns rcodes. 2001-01-16 22:54:03 +00:00