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
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
itojun
ba2e61715a
turn on IPv6 when ipv6 ifid is present (from 2.3.11)
...
don't check for Ipv6 ifid readiness on on-demand dialing, when IPv6CP
is disabled. From: Fong Siu Lung Gordon <ein@hkstar.com>
2000-04-17 08:55:33 +00:00
itojun
d31184e2a7
disable IPv6CP by default, to be friendly with old (IPv4-only) config file.
...
add "+ipv6" which enables IPv6CP. it is necessary if you want IPv6CP.
option name in sync with ppp-2.3.11.
2000-04-17 06:13:18 +00:00
itojun
0a68a1147f
enable IPv6 ppp.
2000-04-12 10:38:46 +00:00
deberg
3a9315446b
clarify syslog facility, fixes bin/9693
2000-03-29 06:04:49 +00:00
tsubai
80c282dde0
We don't need #ifdef __powerpc__ part now. Remove it.
2000-03-03 15:05:47 +00:00
itojun
57f7502caf
inet_pton() error must be checked with 1. see inet_pton(3).
...
will notify the original author.
2000-01-20 04:55:52 +00:00
christos
716b39b67a
PR/9245: Feico Dillema: ip6 support in pppd doesn't compile/work
2000-01-19 20:23:46 +00:00
is
6f86d72282
Document the callback option, in a way similar to what John A. Maier
...
suggested in PR 8550.
1999-10-28 09:41:56 +00:00
erh
c98f493f90
Fix arguments to printf string. Was causing a crash on out of range mtu settings.
1999-10-14 18:29:02 +00:00
itojun
2df1b7b510
make it compilable with -DINET6.
...
-DINET6 is not enabled, as i run no test yet.
1999-08-25 16:28:41 +00:00
christos
6103aa4e65
forgot two #endif's :-(
1999-08-25 03:15:00 +00:00
christos
62f0521dee
new docs
1999-08-25 03:10:28 +00:00
christos
847e9d2e3b
resolve conflicts
1999-08-25 03:00:12 +00:00
christos
46a65cb807
resolve conflicts.
1999-08-25 02:52:15 +00:00
christos
b384567c88
merge changes.
1999-08-25 02:07:41 +00:00
christos
7cd19ad6f7
New pppd, post 2.3.9 directly from the repository.
1999-08-24 20:25:43 +00:00
mjl
2a12a3e76d
Correct typo in option name. Fixes PR 7645 by Paul Shupak <paul@plectere.com>
1999-05-25 20:46:54 +00:00
thorpej
7e3a0bf0c5
Decouple inbound and outbound filters. Now instead of using "active-filter"
...
and "pass-filter" and "inbound" and "outbound" qualifiers in the filter
expression, use new "active-filter-in", "active-filter-out", "pass-filter-in",
and "pass-filter-out" without these qualifiers.
This is necessary due to the horrible, awful way "inbound" and "outbound"
were specified for the filter programs when a packet was passed through them.
Basically, the "address" byte in the serial PPP header was overwritten with
a value to indicate the direction. However, the "address" byte doesn't even
exist on PPP headers for all other PPP encaps! So, this old method worked
only for serial encaps, and corrupted packets for all others (PPPoE, ATM, etc.)
1999-05-12 18:50:51 +00:00
jeremy
60d83bcb76
[PR/5685] Set ONLCR bit in oflags of tty mode to prevent hanging in
...
absence of carrier. From Simon J. Gerraty <sjg@quick.com.au>.
1999-05-06 08:59:21 +00:00
ross
9f0dbe1852
Keep the example strings on one line.
1999-01-24 06:27:06 +00:00
msaitoh
89dc16d4dc
fix a roff bug
1998-11-22 23:30:29 +00:00
christos
dd9db0b0d4
Our MD4Update takes number of bytes not bits. This should fix NT authentication
1998-10-24 18:14:13 +00:00
christos
b5b77bba54
Back out accidental removal of CDTRCTS and fix rcsid's
1998-09-04 19:13:04 +00:00
christos
44d3b0974b
Apply diffs from patchlevel 5.
1998-09-02 20:55:55 +00:00
christos
73270b4cf4
Add the default route as static, so that routed does not delete it.
1998-08-27 06:55:16 +00:00
kleink
ee14eecc51
Change the primary/secondary WINS Configuration Option Type IDs (128, 130) to
...
match those specified by RFC1877 (130, 132); from Terry Moore <tmm@mcci.com>
in PR bin/5701.
1998-08-06 20:13:14 +00:00
mycroft
1f86e5830d
const poisoning.
1998-07-27 00:52:00 +00:00
mycroft
160249f79c
const poisoning.
1998-07-26 15:48:43 +00:00
mrg
32f519716b
- use an array MAXHOSTNAMELEN+1 size to hold hostnames
...
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00
lukem
e31c1515a6
divide (not multiply) ratio by 256
1998-06-18 08:03:08 +00:00
kleink
cf82cd0b86
Need <stdlib.h> for setkey() prototype.
1998-06-01 14:00:11 +00:00
christos
a6551c37bd
Resolve conflicts
1998-05-02 14:55:19 +00:00
christos
1e38977381
Resolve conflicts
1998-05-02 14:31:10 +00:00
christos
30402427a8
Import the readme files, setup and FAQ
1998-05-02 14:21:43 +00:00
christos
57daeb39d8
Resolve conflicts.
1998-05-02 14:19:13 +00:00
christos
ffb419d374
Enable CHAPMS and MSLANMAN. Make them compile. I don't have access to a test
...
setup to verify that it works.
1997-11-19 11:59:58 +00:00
lukem
0a94f4f077
use CPPFLAGS instead of CFLAGS
1997-10-25 06:57:53 +00:00
drochner
2b0cbc07da
include <sys/cdefs> before __RCSID
1997-10-20 17:18:04 +00:00
scottr
94cf433266
Add support for DTR/CTS flow control, from Bill Studenmund.
1997-10-20 08:07:47 +00:00
mikel
af641bd13a
xref tcpdump(8), not nonexistent tcpdump(1)
1997-10-18 07:01:38 +00:00
lukem
149f1867d1
rcsid fascism
1997-10-18 04:36:50 +00:00
lukem
2b042c28d8
add Makefile.inc to use ../Makefile.inc, and cleanup subdir Makefiles
1997-10-17 12:07:28 +00:00
mellon
8e6f88f680
Fix command-line argument processing
1997-10-14 20:38:09 +00:00
christos
16848faf66
PR/4145: Dave Huang: pppd unable to change interface addr when demand dialing
...
w/unspecified local address
1997-09-30 16:45:16 +00:00
christos
6a39b449bc
Add back the NetBSD specific lack of ppp in kernel message, and remove a
...
NetBSD1_2 ifdef
1997-09-29 19:05:53 +00:00
christos
ac0debcff2
Set clocal while processing chat scripts [this was changed on 2.3.1 and
...
broke all existing chat scripts].
1997-09-29 16:57:51 +00:00
christos
2f3fcf9d35
Enable CBCP support by default.
1997-09-29 03:53:38 +00:00