Ondřej Surý
5777c44ad0
Reformat using the new rules
2020-02-14 09:31:05 +01:00
Evan Hunt
e851ed0bb5
apply the modified style
2020-02-13 15:05:06 -08:00
Ondřej Surý
056e133c4c
Use clang-tidy to add curly braces around one-line statements
...
The command used to reformat the files in this commit was:
./util/run-clang-tidy \
-clang-tidy-binary clang-tidy-11
-clang-apply-replacements-binary clang-apply-replacements-11 \
-checks=-*,readability-braces-around-statements \
-j 9 \
-fix \
-format \
-style=file \
-quiet
clang-format -i --style=format $(git ls-files '*.c' '*.h')
uncrustify -c .uncrustify.cfg --replace --no-backup $(git ls-files '*.c' '*.h')
clang-format -i --style=format $(git ls-files '*.c' '*.h')
2020-02-13 22:07:21 +01:00
Ondřej Surý
f50b1e0685
Use clang-format to reformat the source files
2020-02-12 15:04:17 +01:00
Michal Nowak
7f0fcb8a3e
Windows: Prevent tools from clashing with named in system tests
...
In system tests on Windows tool's local port can sometimes clash with
'named'. On Unix the system is poked for the minimal local port,
otherwise is set to 32768 as a sane minimum. For Windows we don't
poke but set a hardcoded limit; this change aligns the limit with
Unix and changes it to 32768.
2020-02-05 10:03:09 +00:00
Ondřej Surý
78d0cb0a7d
Use coccinelle to remove explicit '#include <config.h>' from the source files
2019-03-08 15:15:05 +01:00
Ondřej Surý
e2cdf066ea
Remove message catalogs
2019-01-09 23:44:26 +01:00
Ondřej Surý
aa3e33575d
Fixup Windows build after strerr changes
2018-08-29 21:21:52 +02:00
Ondřej Surý
1672935717
Use strerror_r from POSIX.1-2001 (strerror_s on Windows) instead of custom isc__strerror()
2018-08-28 10:31:48 +02:00
Ondřej Surý
3ab9c99567
Remove support for legacy systems without in6_pktinfo
2018-08-28 10:31:48 +02:00
Ondřej Surý
5083a42072
Remove support for legacy systems without in6addr_any
2018-08-28 10:31:48 +02:00
Ondřej Surý
7b21bbb7c1
Require IPv6 support from the OS
2018-08-28 10:31:47 +02:00
Ondřej Surý
00ca487fec
We always want IPv6
2018-08-28 10:31:47 +02:00
Ondřej Surý
55a10b7acd
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
2018-05-11 13:17:46 +02:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Tinderbox User
2bd63eca27
update copyright notice / whitespace
2015-07-01 23:45:22 +00:00
Mark Andrews
753b27a7d3
4150. [bug] win32: listen-on-v6 { any; }; was not working. Apply
...
minimal fix. [RT #39667 ]
2015-07-01 11:51:45 +10:00
Tinderbox User
cc2a515684
update copyright notice
2014-03-04 23:46:15 +00:00
Evan Hunt
b454c03196
[master] use ANSI prototypes, clean up some casts
2014-03-04 10:42:25 -08:00
Mark Andrews
c3c8823fed
3681. [port] Update the Windows build system to support feature
...
selection and WIN64 builds. This is a work in
progress. [RT #34160 ]
2013-12-04 12:47:23 +11:00
Tinderbox User
313b0ea9f2
update copyright notice
2013-03-23 23:46:06 +00:00
Evan Hunt
67adc03ef8
[master] add DSCP support
...
3535. [func] Add support for setting Differentiated Services Code
Point (DSCP) values in named. Most configuration
options which take a "port" option (e.g.,
listen-on, forwarders, also-notify, masters,
notify-source, etc) can now also take a "dscp"
option specifying a code point for use with
outgoing traffic, if supported by the underlying
OS. [RT #27596 ]
2013-03-22 14:05:33 -07:00
Mark Andrews
bbb3705e4c
3535. [bug] Minor win32 cleanups. [RT #32962 ]
2013-03-22 22:23:48 +11: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
53eae9bf3e
update copyright notice
2011-10-31 23:46:56 +00:00
Mark Andrews
36e97eb661
3187. [port] win32: support for Visual Studio 2008. [RT #26356 ]
2011-10-30 23:39:39 +00:00
Automatic Updater
d8b801bd19
update copyright notice
2009-09-08 23:41:50 +00:00
Francis Dupont
e7de5dcef6
typo, cf RT20219
2009-09-08 13:04:29 +00:00
Mark Andrews
dc842cdcb9
2412. [bug] win32: address a resourse leak. [RT #18374 ]
2008-08-08 05:06:49 +00:00
Evan Hunt
f41bd47802
merge rt18194 to enable windows build
2008-07-01 03:55:10 +00:00
Automatic Updater
a687db7ce8
update copyright notice
2008-04-02 23:46:58 +00:00
Mark Andrews
07555e64d9
2350. [port] win32: IPv6 support. [RT #17797 ]
2008-04-02 02:56:23 +00:00
Automatic Updater
ec5347e2c7
update copyright notice
2007-06-18 23:47:57 +00:00
Mark Andrews
47ee25b1f5
2199. [bug] win32: don't call WSAStartup() while loading dlls.
...
[RT #16911 ]
2007-06-18 03:36:51 +00:00
Mark Andrews
c2a5a4a3cf
update copyright notice
2005-02-24 00:33:35 +00:00
Mark Andrews
4423c99613
1814. [func] UNIX domain controls are now supported.
2005-02-23 01:09:23 +00:00
Mark Andrews
cc32d38366
1622. [func] probe the system to see if IPV6_(RECV)PKTINFO is
...
available, and suppress wildcard binding if not.
1621. [bug] match-destinations did not work for IPv6 TCP queries.
[RT# 11156]
2004-04-29 01:37:14 +00:00
Mark Andrews
28b863e609
pullup fixed from 9.3
2004-03-16 05:52:24 +00:00
Mark Andrews
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00
Mark Andrews
0ffaee887f
1412. [func] You can now specify servers to be tried if a nameserver
...
has IPv6 address and you only support IPv4 or the
reverse. See dual-stack-servers.
2003-01-16 03:59:28 +00:00
Mark Andrews
2f4fbeb360
SOCKET vs int
2003-01-14 23:37:06 +00:00
Mark Andrews
aa39170da8
1394. [func] It is now possible to check if a particular element is
...
in a acl. Remove duplicate entries from the localnets
acl.
1393. [port] Bind to individual IPv6 interfaces if IPV6_IPV6ONLY
is not available in the kernel to prevent accidently
listening on IPv4 interfaces.
developer: jinmei
reviewer: marka
2002-10-29 04:40:26 +00:00
Danny Mayer
d5f394f4c4
Change strerror references to use isc__strerror [RT #1689 ]
2001-11-21 05:07:25 +00:00
Andreas Gustafsson
e76d4c91bf
coding style
2001-07-09 21:06:30 +00:00
Danny Mayer
602f0b8e48
net routines
2001-07-06 05:30:51 +00:00