Michael Graff
3d2332d68f
include <lwres/net.h> so AF_INET6 is always defined
2000-06-15 22:43:48 +00:00
James Brister
52d06580bd
Fixed handling of printing of lwres_addr_t.address field.
2000-06-15 21:34:21 +00:00
James Brister
e03329a387
253. [func] resolv.conf parser now recognises ';' and '#' as
...
comments (anywhere in line, not just as the beginning).
252. [bug] resolv.conf parser mishandled masks on sortlists.
It slso aborted when an unrecognised keyword was seen,
now it silently ignores the entire line.
2000-06-13 17:52:58 +00:00
David Lawrence
5e09ded492
cast assignment of confdata->ndots to lwres_uint8_t (its type). it was already
...
being range checked.
2000-05-24 03:02:16 +00:00
David Lawrence
6c6ad82aca
line 454: remark(1552): variable "delim" was set but never used.
...
It was removed and the function call that set it (getword) was cast to void.
In the context in which it was being used, the return value was not needed.
2000-05-14 03:53:53 +00:00
David Lawrence
3e3a8b051d
"lwconfig.c", line 438: remark(1506): implicit conversion from "long" to
...
"unsigned char": rounding, sign extension, or loss of accuracy may
result
Fixed by ensuring suitable range before assignment.
2000-05-14 03:34:33 +00:00
David Lawrence
47b26abe77
ensure proper range for argument to ctype functions
2000-05-09 22:22:25 +00:00
Michael Graff
915723e400
Copy addresses out, rather than keeping pointers to them from a buffer. This
...
simplifies code at the expense of copying more. It is, however, the
easiest way to get sortlist working correctly. ipv6 addresses now sort
as well.
2000-03-12 01:58:41 +00:00
Michael Graff
d736db6dc5
lwres get-addr-by-name returns a linked list, not an array, of names. This
...
was needed to make adding the sortlist code, which will be checked in
in a few minutes.
2000-03-10 23:11:36 +00:00
Michael Graff
a193a7a1f0
s/int/lwres_result_t/
2000-02-24 00:12:40 +00:00
Michael Graff
36bc67f257
more formatting nits
2000-02-18 03:52:34 +00:00
Michael Graff
9ca3879f71
formatting nits, and make 'search' work.
2000-02-18 01:09:36 +00:00
Bob Halley
f9c8626738
lint
2000-02-16 18:51:08 +00:00
James Brister
ffbec84459
resolv.conf parsing routines.
2000-02-16 17:38:28 +00:00