Commit Graph

216 Commits

Author SHA1 Message Date
itojun f4c0491af5 one more SIOCGIFCONF->getifaddrs conversion 2003-08-17 21:43:29 +00:00
itojun 0f6ff2de74 rewrite SIOCGIFCONF into getifaddrs(3) 2003-08-17 21:36:56 +00:00
agc 326b2259b7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-08-07 11:25:11 +00:00
itojun 63b4a66b0f strlcpy is prototyped in string.h 2003-07-13 14:02:23 +00:00
christos b4f029d21d revert to revision 1.41, since 1.42 did not fix the problem and made the
code more complicated. Fix the real issue which was setting the dst addr
incorrectly.
2003-06-09 13:35:10 +00:00
christos 7eec87e751 previous fix had trouble deleting routes; try to delete a more generic
default route.
2003-06-05 19:48:49 +00:00
christos a23e290bac Specify the interface where to place the default route, otherwise we sometimes
can put it in the wrong place.
2003-05-28 13:43:26 +00:00
itojun ef713a2fe9 use strlcat 2003-05-17 21:00:57 +00:00
itojun 9e390651ee remove local copy of strl{cat,cpy} 2003-05-17 20:49:28 +00:00
itojun 272c80e349 avoid possible buffer overrun 2003-05-16 18:15:34 +00:00
christos 367ffb5e14 PR/3272: Wailer: Don't send lcp echo's if we are not opened. 2003-04-01 15:12:12 +00:00
perry bbf77a1edf dialling->dialing (from me)
substition->substitution (from Igor Sobrado, PR misc/20744)
2003-03-31 01:09:08 +00:00
perry 893cb2b5a6 spelling fixes, including some pointed out by Igor Sobrado in
PR misc/20745
I've submitted the changes back to paulus@samba.org
2003-03-31 01:00:13 +00:00
wiz 3425830569 Uppercase ULTRIX. Igor Sobrado in PR 19678. 2003-03-30 21:20:17 +00:00
wiz 46ebb6111a Correct spelling of "overridden". Found in follow-up to PR 20718. 2003-03-15 19:24:02 +00:00
christos c5011d1086 PR/20065: John F. Woods: Fix pluggin compilation 2003-01-26 17:34:19 +00:00
taca eb37d628b3 Fix compile error with DEBUGMAIN. 2003-01-07 15:04:54 +00:00
tron 7c891035f6 Use "%u" instead "%d" in format string for bytes count reported at
termination. This should fix PR bin/19713.
2003-01-07 09:02:21 +00:00
thorpej 4c278745df Avoid conflict with reserved identifier "logf". 2002-12-06 15:17:18 +00:00
wiz a125d07668 Fix typos. Found by Adrian Mrva. 2002-10-29 16:12:25 +00:00
lukem c52b93f508 minor makefile delint 2002-09-18 13:31:52 +00:00
lukem 17d72c8a6b use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
itojun 0319b78e54 copyright clarification. from openbsd
1.
Paul Mackerras and the Australian National University have worked things
out, and as a result, Paul now owns copyright on all these files, with the
proper terms.

2.
and... we managed to contact "Eric Rosenquist" <eric@rosenquist.com> through
the help of people who found him: first one was nick.stott@cogeco.ca
This now has a better license.  Two authors left to go.
2002-09-13 14:32:11 +00:00
itojun 98e97a1b2b die if fd_set overruns. 2002-08-09 02:43:58 +00:00
soren 236006d5dc Remove extraneous \n's in {err,warn}{,x} that used to be printfs. 2002-08-08 13:24:12 +00:00
christos c9bffd0130 fix argument order. 2002-08-02 14:06:07 +00:00
christos 4be5fa5155 no need to include utmp everywhere.
add utmpx support
2002-08-02 02:52:07 +00:00
christos 8fece071ac don't try to chmod if fchmod fails when restoring the original tty modes.
It could cause a symlink race. Just report the fchmod failure. Reported
by itojun, found in FreeBSD.
2002-07-31 14:59:10 +00:00
fredb d9aaf825ea Unset connect-time timer on disconnect, as discussed briefly on
tech-userlevel. Without this, using "demand" and "max-connect NNN"
together subjects the user to rather arbitrary disconnects.
2002-07-10 15:00:35 +00:00
itojun 93b1b1c2c9 avoid trigraph. From: Matt Fredette <fredette@theory.lcs.mit.edu> 2002-07-06 18:21:43 +00:00
itojun 2a1f4932a0 new CMU boilerplate, from openbsd 2002-07-01 22:19:30 +00:00
itojun d56d2a76af new copyright notice for VJ. via openbsd.
update copyright notice.  mckusick says that Van signed the standard
  Berkeley copyright assignment form, therefore the new license should
  be on these files. I just copied in the notice that Kirk mailed me.
2002-06-18 22:32:16 +00:00
matt 100b7b43f1 Eliminate unintended trigraph. 2002-06-15 01:57:08 +00:00
christos 4062b8f15f PR/10566: Brian Stark: explicitly document all ipv6 options.
While I am there, fix dup {+,-}ipv6 description.
2002-06-05 13:12:05 +00:00
wiz 565b0695e4 Add RCS Id, and drop a trailing space. 2002-05-30 16:07:59 +00:00
agc 4e784ca27b Include <string.h> to get the prorotype for memset(3). 2002-05-30 12:52:29 +00:00
agc 7ad2a4aeb4 Include <string.h> to get the prorotype for memset(3). 2002-05-30 12:29:04 +00:00
agc 0bb4958e16 Cast the difference of two pointers to an int so that it can be compiled
on more esoteric architectures.
2002-05-30 11:45:02 +00:00
christos d2b4e689bf more ### removal. 2002-05-29 21:47:35 +00:00
christos 24e2c85e3d grr, remove error ### 2002-05-29 21:47:08 +00:00
christos db34dc6d9c new files 2002-05-29 19:07:12 +00:00
christos 2e3d854ebd Resolve conflicts. 2002-05-29 19:06:30 +00:00
christos 2aa61ebdb8 import pppd-2.4.1 2002-05-29 18:30:02 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz d30b208c5a Drop an unnecessary empty line. 2002-02-02 01:33:55 +00:00
thorpej ebc45776d2 vslprintf: Slight hack (?) to make "%r" work with the stdarg
implementation on x86-64.
2002-01-23 18:23:02 +00:00
wiz a2d753e3ef Whitespace nits. 2002-01-19 11:44:57 +00:00
wiz 55e6492076 Explicitly write explicitly without a second e. 2001-11-21 17:33:26 +00:00
wiz 4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
itojun 338143f0e5 follow kame p2p interface management rule. use /128 when we specify
both src and dst addr on p2p interface.  sync with kame
2001-07-21 02:28:06 +00:00