diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 2001-12-31 09:32:32 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 2001-12-31 09:32:32 +0000 |
| commit | 536550c3f212ab19aacdeda790db27fa7253550d (patch) | |
| tree | 1b4a3a3f2d5b5d7e6b6fec094374330e6ff976c1 | |
| parent | fdf6204cdf3ba8a367d52900a44a5b9100843bb9 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/i4b/isdnd/isdnd.h | 4 | ||||
| -rw-r--r-- | usr.sbin/i4b/isdnd/rc_config.c | 11 |
2 files changed, 2 insertions, 13 deletions
diff --git a/usr.sbin/i4b/isdnd/isdnd.h b/usr.sbin/i4b/isdnd/isdnd.h index a16fd660a3a0..8fdf80dd3d1e 100644 --- a/usr.sbin/i4b/isdnd/isdnd.h +++ b/usr.sbin/i4b/isdnd/isdnd.h @@ -67,6 +67,8 @@ #include <sys/rtprio.h> #endif +#include <net/if_sppp.h> + #include <machine/i4b_ioctl.h> #include <machine/i4b_cause.h> @@ -359,8 +361,6 @@ typedef struct cfg_entry { #define AUTH_RECHALLENGE 0x01 #define AUTH_REQUIRED 0x02 -#define AUTHNAMELEN 42 /* AUTHNAMELEN must match in <machine/i4b_isppp.h> */ -#define AUTHKEYLEN 16 char ppp_expect_name[AUTHNAMELEN]; /* PPP PAP/CHAP login name */ char ppp_send_name[AUTHNAMELEN]; diff --git a/usr.sbin/i4b/isdnd/rc_config.c b/usr.sbin/i4b/isdnd/rc_config.c index df7d07bbac11..9d27231e7ad3 100644 --- a/usr.sbin/i4b/isdnd/rc_config.c +++ b/usr.sbin/i4b/isdnd/rc_config.c @@ -38,20 +38,9 @@ #include <netinet/in.h> #include <arpa/inet.h> -#include <sys/callout.h> #include <sys/ioctl.h> #include <net/if.h> -#ifdef __NetBSD__ -#include <net/if_sppp.h> -#else -#if __FreeBSD__ == 3 -#include <sys/param.h> -#include <sys/mbuf.h> -#endif -#include <net/if_var.h> -#include <machine/i4b_isppp.h> -#endif #include "isdnd.h" #include "y.tab.h" |
