ed
073cafdd42
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
imp
8391d4689d
Properly convert bit value to a bit field. Before we were storing
...
values like 0x80 or 0x40 into a uint8_t foo:1 bitfield. This would
result in the bit always being 0. One of these caused a warning for
overflow (one that was 0x80), but the other didn't. They were both
wrong.
This is why I hate code that mixes c struct bitfields and #defines.
The rest of the fields accessed by the program should be audited.
2009-02-19 16:30:11 +00:00
danger
f524a751ea
- rename the RETURN VALUES section to EXIT STATUS [1]
...
- convert to .Ex macro
- not bumping a date as this is not a real content change
Approved by: ru [1]
MFC after: 3 days
2009-01-07 01:01:26 +00:00
ache
0ef9f80522
Change 2 arc4random modulo operations to arc4random_uniform() as
...
OpenBSD does, since modulo is not power of 2.
Obtained from: OpenBSD
2008-07-26 15:39:32 +00:00
kevlo
fa3791e1a7
Cleanup of userland __P use
2007-11-07 10:53:41 +00:00
maxim
202535955d
o Remove duplicate includes.
...
Obtained from: Slava Semushin via NetBSD
2007-01-20 08:24:02 +00:00
yar
b8f7c89828
These IPv6-only tools have no explicit dependency on the INET6 macro.
...
Tested with: cmp(1)
2006-07-27 15:31:13 +00:00
suz
20b21e2a36
avoid heap overrun
...
Obtained from: KAME
MFC after: 1 day
2006-03-23 14:39:38 +00:00
suz
7c337042be
fixed a typo in comment
2005-11-17 02:34:50 +00:00
suz
f584bb27ab
changed syslog level to more appropriate ones
...
Obtained from: KAME
Reviewd by: ume, gnn
MFC after: 2 weeks
2005-10-19 15:19:06 +00:00
suz
1e68536f50
source link-layer address option should be marked to be checked later,
...
because rs_input() need this option.
Obtained from: KAME
Reviewed by: ume, gnn
MFC after: 2 weeks
2005-10-19 15:14:28 +00:00
suz
7cb7aed97b
added an ioctl option in kernel so that ndp/rtadvd can change some NDP-related kernel variables based on their configurations (RFC2461 p.43 6.2.1 mandates this for IPv6 routers)
...
Obtained from: KAME
Reviewd by: ume, gnn
MFC after: 2 weeks
2005-10-19 15:05:42 +00:00
ume
c499ed16ea
fix typo.
...
Submitted by: suz
Obtained from: KAME
2005-08-10 17:09:08 +00:00
ru
114ea39c76
Fixed the misplaced $FreeBSD$.
2005-02-09 18:07:17 +00:00
suz
1180ce1062
removed compilation warning
...
PR: bin/71624
2004-10-22 07:31:12 +00:00
imp
9fbed704d5
Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software
...
(with permission of addtional copyright holders where appropriate)
2004-08-07 04:28:56 +00:00
ru
c9514667b2
Fixed SEE ALSO references.
2004-07-02 22:50:25 +00:00
phk
70e8d575c7
libcompat doesn't seem to be necessary any more.
2004-06-21 16:09:29 +00:00
bde
7432091236
Fixed a misspelling of 0 as NULL.
2004-03-10 08:46:39 +00:00
suz
6e6824e4bc
fixed memory leak.
...
Obtained From: KAME
2003-09-20 09:41:13 +00:00
ru
cc9d2aeb39
Get rid of duplicates.
2003-09-14 13:41:59 +00:00
ume
448f6abd90
- supported a string notation for xxflags.
...
- deprecate routes#N, as it is hard to keep consistency with
rtprefixN. accept any number of "rtprefix", "rtrefix0",
..., "rtprefix99".
- deprecate "addrs#N", as it is difficult for users to keep
consistency with "addrN".
accept 100 prefix info in maximum - like "addr", "addr0"
... "addr99". WARNS=2 clean on netbsd.
old configuration file should work just fine.
behavior change:
previously, we rejected "addrN" if there's "addr", and we rejected
"addr" if there is "addrN". now we accept both without problem.
- when an advertised prefix configured from the kernel has been added
or invalidated, notice the change in a short delay.
- when invalidating a prefix, do not bark even if there is
inconsistency about prefix lifetimes.
- wrap more specific route info code into ROUTEINFO.
Obtained from: KAME
MFC after: 1 week
2003-08-15 19:13:53 +00:00
ume
2de9e4015b
use arc4random.
...
Obtained from: KAME
MFC after: 1 week
2003-08-15 17:51:51 +00:00
ume
8a6097d8de
variable shared with signal handler needs to be "volatile sig_atomic_t".
...
Obtained from: KAME
MFC after: 1 week
2003-08-15 17:20:49 +00:00
ume
03f660313d
set LOG_PERROR for openlog() when running foreground.
...
Obtained from: KAME
MFC after: 1 week
2003-08-15 17:15:10 +00:00
ume
7bd0c793c1
dump the content of route information options
...
Obtained from: KAME
MFC after: 1 week
2003-08-15 17:04:28 +00:00
ume
eaf6d1de54
logged the fact to dump the status.
...
Obtained from: KAME
MFC after: 1 week
2003-08-15 16:50:34 +00:00
ume
587cb35d19
daemon() has to be called prior to file descriptor setups
...
(otherwise file descriptors could be closed mistakenly)
Obtained from: KAME
MFC after: 1 week
2003-08-14 19:05:24 +00:00
ume
3152567590
support poll(2).
...
Obtained from: KAME
MFC after: 1 week
2003-08-14 18:43:57 +00:00
ume
41379bc0db
- rename some variables.
...
- remove unused block.
Obtained from: KAME
MFC after: 1 week
2003-08-14 16:51:13 +00:00
ume
076d01ff60
signal handler must take "int" arg.
...
Obtained from: KAME
MFC after: 1 week
2003-08-14 16:23:39 +00:00
ume
607bd5ea24
avoid fd_set overrun.
...
Obtained from: KAME
MFC after: 1 week
2003-08-14 16:19:59 +00:00
ume
5ac4d3d0e1
malloc() may return NULL.
...
Obtained from: KAME
MFC after: 1 week
2003-08-12 16:58:32 +00:00
ume
a3738aa5cf
reduce #ifdef.
...
MFC after: 1 week
2003-08-11 15:51:54 +00:00
ume
44f95bb1cf
use strlcpy() and snprintf().
...
Obtained from: KAME
MFC after: 1 week
2003-08-11 15:49:47 +00:00
ume
8fcac13acd
use int64_t instead of long long.
...
Obtained from: KAME
MFC after: 1 week
2003-08-11 15:46:37 +00:00
ume
59b29c0142
Drop MIP6 code. We don't support MIP6 yet.
...
MFC after: 1 week
2003-08-08 20:14:28 +00:00
ume
958362f6a8
KNF, correct typos and cleanup spaces.
...
Obtained from: KAME
MFC after: 1 week
2003-08-08 16:56:01 +00:00
ume
bf86284d6c
stop use of register.
...
Obtained from: KAME
MFC after: 1 week
2003-08-08 16:47:06 +00:00
ume
52b4a696e0
__FUNCTION__ --> __func__
...
Obtained from: KAME
MFC after: 1 week
2003-08-08 16:38:23 +00:00
suz
83d78951a7
fixed wrong parameter descriptions
...
Obtained from: KAME
MFC after: 1 day
2003-07-30 07:33:10 +00:00
suz
4b545f73d3
- fixed byte order of route lifetimes in route info opptions.
...
- corrected wording in a log message.
Obtained from: KAME
MFC after: 1 week
2003-04-10 07:31:34 +00:00
njl
29be5a9beb
Use assignment, not equivalence test.
...
No response from: suz
2003-04-05 20:54:54 +00:00
obrien
a920d12f89
style.Makefile(5)
2003-04-04 17:49:21 +00:00
suz
bd1430b43c
fixed invalid pointer reference
...
Obtained from: KAME
2003-04-02 11:35:51 +00:00
ume
0a410e4e75
tightened check for the length of ND options.
...
Submitted by: jinmei@kame.net (JINMEI Tatuya)
Obtained from: KAME
2003-03-26 17:28:47 +00:00
ache
fdbf9035ad
Use srandomdev() for FreeBSD
2003-02-11 02:21:41 +00:00
schweikh
86f7487fb6
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
...
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
schweikh
fec6546e12
english(4) police.
2002-12-27 12:15:40 +00:00
charnier
d2168fe021
The .Nm utility
2002-07-14 14:47:15 +00:00