diff options
author | peter <peter@FreeBSD.org> | 1997-08-19 17:52:48 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-08-19 17:52:48 +0000 |
commit | 070f42a366d1f592be37f248439635c1d36eaaa3 (patch) | |
tree | 485faad86f4448a6b6ceaf08b9bca8d9250596b3 /usr.sbin/pppd/magic.c | |
parent | f52b01f46739c1ff6b61ccfe02a7fbd874f14bed (diff) | |
download | FreeBSD-src-070f42a366d1f592be37f248439635c1d36eaaa3.zip FreeBSD-src-070f42a366d1f592be37f248439635c1d36eaaa3.tar.gz |
*gulp* First pass at merging in ppp-2.3.0's pppd. (this has
dial-on-demand, packet filtering, idle timeouts, etc). The IPX support
is pretty much there but more work needs to be done in sys-bsd.c for
the interface ioctls (Linux has a very different way of configuring IPX
interfaces).
Along the way some things have temporarily been lost due to very messy
conflicts. I will recover them shortly when I can think clearer.
The main one is the local:remote address override in pap-secrets and
chap-secrets. Some other home-grown features (dns1,dns2) have been
implemented differently. Microsoft's chap client auth hacks have been
implemented. There are bound to be more rough edges... The changes for
connect-max-retries doesn't fit well with the dial-on-demand code.
Diffstat (limited to 'usr.sbin/pppd/magic.c')
-rw-r--r-- | usr.sbin/pppd/magic.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/pppd/magic.c b/usr.sbin/pppd/magic.c index a35ec40..be3b503 100644 --- a/usr.sbin/pppd/magic.c +++ b/usr.sbin/pppd/magic.c @@ -22,19 +22,16 @@ static char rcsid[] = "$Id$"; #endif #include <stdio.h> +#include <unistd.h> #include <sys/types.h> #include <sys/time.h> #include "pppd.h" #include "magic.h" -static u_int32_t next; /* Next value to return */ - -extern int gethostid __P((void)); extern long mrand48 __P((void)); extern void srand48 __P((long)); - /* * magic_init - Initialize the magic number generator. * |