aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/auth.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-04-28 01:25:46 +0000
committerBrian Somers <brian@FreeBSD.org>1998-04-28 01:25:46 +0000
commit1fa665f5b363853f2e5ebdf453e9af3b7e752729 (patch)
tree468a8c3d43eac7cc8a507231151a3fe2f8d67301 /usr.sbin/ppp/auth.c
parent107d62e7ac793df852b39f8b73b2636c3ee15c24 (diff)
downloadsrc-1fa665f5b363853f2e5ebdf453e9af3b7e752729.tar.gz
src-1fa665f5b363853f2e5ebdf453e9af3b7e752729.zip
o Add the link name to modem diagnostics.
o Create struct mpserver as part of struct mp. mpserver creates a unix-domain socket based on the peers auth name and endpoint discriminator. If it already exists, ppp will ``pass the link'' over to the owner of the socket, joining it into the bundle of another ppp invocation, otherwise ppp waits for other invocations to pass it links through this socket. The final piece of code will be the code that flattens our datalink info and passes it down this channel (not yet implemented).
Notes
Notes: svn path=/cvs2svn/branches/MP/; revision=35481
Diffstat (limited to 'usr.sbin/ppp/auth.c')
-rw-r--r--usr.sbin/ppp/auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/auth.c b/usr.sbin/ppp/auth.c
index aeda3072a10e..2d08003f4d92 100644
--- a/usr.sbin/ppp/auth.c
+++ b/usr.sbin/ppp/auth.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: auth.c,v 1.27.2.23 1998/04/23 03:22:43 brian Exp $
+ * $Id: auth.c,v 1.27.2.24 1998/04/24 19:15:55 brian Exp $
*
* TODO:
* o Implement check against with registered IP addresses.
@@ -26,6 +26,7 @@
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
+#include <sys/un.h>
#include <pwd.h>
#include <stdio.h>