Commit Graph

60 Commits

Author SHA1 Message Date
Mark Andrews
0c27b3fe77 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
Evan Hunt
a6ad80dd08 [master] make lwres/stdlib.h and lwres/string.h instead of compat.h 2014-08-05 22:01:06 -07:00
Mark Andrews
f38a398033 silence signed/unsigned comparision warning 2014-08-06 12:25:03 +10:00
Mark Andrews
1e5fd07d16 #include print_p.h 2014-07-31 00:26:21 +10:00
Mark Andrews
70be388974 [rt36039]
3902.   bug]            liblwres wasn't handling link-local addresses in
                        nameserver clauses in resolv.conf. [RT #36039]
2014-07-30 23:26:37 +10:00
Evan Hunt
4e7973990c [master] host recognizes /etc/resolv.conf options
3813.	[func]		"host" now recognizes the "timeout", "attempts" and
			"debug" options when set in /etc/resolv.conf.
			(Thanks to Adam Tkac at RedHat.) [RT #21885]
2014-04-17 17:04:51 -07:00
Tinderbox User
431a83fb29 update copyright notice 2014-01-09 23:46:35 +00:00
Evan Hunt
e851ea8260 [master] replace memcpy() with memmove().
3698.	[cleanup]	Replaced all uses of memcpy() with memmove().
			[RT #35120]
2014-01-08 16:39:05 -08:00
Tinderbox User
5fa46bc916 update copyright notice 2012-03-10 23:45:53 +00:00
Mark Andrews
28a8f5b0de set $Id$ 2012-03-08 00:21:15 +11:00
Automatic Updater
c1aef54e14 update copyright notice 2011-03-12 04:59:49 +00:00
Mark Andrews
0874abad14 3069. [cleanup] Silence warnings messages from clang static analysis.
[RT #20256]
2011-03-11 06:11:27 +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