Commit Graph

201 Commits

Author SHA1 Message Date
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
christos e01ff467fb order the eE options as the others. 2001-06-21 20:58:18 +00:00
he ccc114118a Add `E' to getopt string, so the -E option is recognized.
Should fix PR#13008.
2001-05-26 21:20:28 +00:00
wiz ad64d63177 Remove reference to pppdump(8), because it's not in our tree. 2001-04-09 17:38:10 +00:00
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
wiz 96078f3a14 tcpdump(8), not (1), and syslogd(8), not syslog(1). Whitespace fixes. 2001-04-05 11:52:18 +00:00
wiz f1eb267290 uucico(8), not (1). Whitespace fixes. 2001-04-05 11:50:48 +00:00
cgd 3e8fb298b1 Avoid accidental use of trigraphs. Pointed out by development version of gcc. 2001-01-16 02:37:03 +00:00
cgd d87582beba avoid use of ANSI C trigraph ??) 2000-12-20 01:29:21 +00:00
is d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
christos b181f2aa02 - resolve conflicts
- adjust 2.4.0 new tty subsystem back to bsd.
- start on multilink stubs
- clean up warnings

Status:
- paulus knows about the fixes, but he has not responded yet as to if
  I should commit them or not].
- I've tested ipv4 connectivity and itojun tested ipv6 [many thanks!]
- Missing from this are pluggin examples and pppdump code because they
  are contain gpl code.
- This version of pppd is again gpl free now!
2000-09-23 22:39:29 +00:00
christos 5f5270c935 import of a cropped down pppd-2.4.0 circa sept 10 directly from the cvs
repository.
2000-09-23 22:14:39 +00:00
hubertf d3bf5ce16a add missing .TP 2000-08-01 18:46:22 +00:00
tron eb738db50f Resolve conflicts from import. 2000-07-16 22:10:10 +00:00
matt 3ab02a8704 More #include <stdlib.h> string, etc. cleanup 2000-07-04 20:27:35 +00:00
itojun 98c66bf5bf don't exit even if socket(AF_INET6) fails.
check if sock6_fd is available at runtime.
2000-04-20 03:28:15 +00:00