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