Automatic Updater
b7f0a015a5
update copyright notice
2011-03-12 04:59:19 +00:00
Mark Andrews
ac6edf67d5
3069. [cleanup] Silence warnings messages from clang static analysis.
...
[RT #20256 ]
2011-03-11 06:47:09 +00:00
Automatic Updater
c6b65dff51
update copyright notice
2008-12-17 23:47:58 +00:00
Tatuya JINMEI 神明達哉
10a6f640ed
2519. [bug] dig/host with -4 or -6 didn't work if more than two
...
nameserver addresses of the excluded address family
preceded in resolv.conf. [RT #19081 ]
2008-12-17 19:19:29 +00:00
Automatic Updater
70e5a7403f
update copyright notice
2007-06-19 23:47:24 +00:00
Automatic Updater
ec5347e2c7
update copyright notice
2007-06-18 23:47:57 +00:00
Mark Andrews
91ddbb6e4f
update copyright notice
2006-10-03 23:50:52 +00:00
Mark Andrews
5cf0c55948
2090. [port] win32: Visual C++ 2005 command line manifest support.
...
[RT #16417 ]
2006-10-02 02:27:41 +00:00
Mark Andrews
3d247992c4
1866. [bug] resolv.conf parse errors were being ignored by
...
dig/host/nslookup. [RT #14841 ]
1865. [bug] Silently ignore nameservers in /etc/resolv.conf with
bad addresses. [RT #14841 ]
2005-06-07 01:00:00 +00:00
Mark Andrews
69fe9aaafd
update copyright notice
2005-04-29 00:24:12 +00:00
Rob Austein
ab023a6556
1851. [doc] Doxygen comment markup. [RT #11398 ]
2005-04-27 04:57:32 +00:00
Jakob Schlyter
8638eaef79
correct speling, s/intializes/initializes
2004-06-28 06:23:05 +00:00
Mark Andrews
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00
Mark Andrews
5eb91bd90e
silence compiler warnings (HPUX/11i)
2003-07-25 00:01:16 +00:00
Danny Mayer
1433d8f5f4
changed keyword option to options for the resolv.conf file
2002-08-11 03:26:26 +00:00
Andreas Gustafsson
91cd0f93ad
sizeof style
2001-11-27 01:56:32 +00:00
Andreas Gustafsson
f1b6872550
Do not put a space before ';' when terminating a statement or in a 'for' statement.
2001-11-27 00:56:32 +00:00
Andreas Gustafsson
34729dbcb3
split lwres/net.h into separate Unix and Win32 version to facilitate
...
porting; rely on that header for networking definitions rather than redundantly
including OS-dependent headers from the various lwres .c files
2001-07-10 18:26:12 +00:00
David Lawrence
ae6860081f
a different fix for the lwres_net_aton problem in lwres_create_addr, that
...
addresses any alignment issues that might have existed with casting
an unsigned char pointer to a struct pointer.
2001-04-12 22:45:12 +00:00
David Lawrence
7944c8c5f7
case unsigned char addrbuf pointer to struct in_addr * when used as second
...
argument to lwres_net_aton, to quiet compiler warning
2001-04-12 20:23:48 +00:00
Brian Wellington
7b1ab9e210
don't do 0.0.0.0 -> 127.0.0.1 conversion for netmasks.
2001-04-02 23:05:14 +00:00
Brian Wellington
765eb27068
call inet_aton, not inet_pton when parsing resolv.conf
2001-04-02 22:33:31 +00:00
Brian Wellington
ac3f9fa1ec
remove unnecessary #includes
2001-03-06 23:02:04 +00:00
Brian Wellington
ea6709ec8a
702. [func] If the address 0.0.0.0 is seen in resolv.conf,
...
use 127.0.0.1 instead. [RT #693 ]
2001-01-23 00:41:55 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Brian Wellington
8f80322fb5
Support for lwresd on addresses other than 127.0.0.1.
2000-10-05 22:27:54 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
Brian Wellington
d8c8722f28
313. [bug] When parsing resolv.conf, don't terminate on an
...
error. Instead, parse as much as possible, but
still return an error if one was found.
2000-07-07 18:58:46 +00:00
Brian Wellington
03968c0f5e
removed dead code
2000-07-07 18:28:58 +00:00
Brian Wellington
4b7167e96a
312. [bug] Increase the number of allowed elements in the
...
resolv.conf search path from 6 to 8. If there
are more than this, ignore the remainder rather
than returning a failure in lwres_conf_parse.
2000-07-07 18:24:11 +00:00
Brian Wellington
a4b496f2ab
311. [bug] lwres_conf_parse failed when the first line of
...
resolv.conf was empty or a comment.
2000-07-07 18:16:46 +00:00
Brian Wellington
23ce1c7cca
Lots of the comments were wrong.
2000-07-06 20:05:13 +00:00
Brian Wellington
e2894b0e50
304. [bug] If more than LWRES_CONFMAXNAMESERVERS servers
...
are listed in resolv.conf, silently ignore them
instead of returning failure.
2000-07-03 20:13:12 +00:00
Brian Wellington
6f4317150b
remove dead code
2000-06-27 00:24:27 +00:00
David Lawrence
9c3531d72a
add RCS id string
2000-06-22 22:00:42 +00:00
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