aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/fsm.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/fsm.c
parent107d62e7ac793df852b39f8b73b2636c3ee15c24 (diff)
Notes
Diffstat (limited to 'usr.sbin/ppp/fsm.c')
-rw-r--r--usr.sbin/ppp/fsm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ppp/fsm.c b/usr.sbin/ppp/fsm.c
index ca68a146e796..a0964ed767ac 100644
--- a/usr.sbin/ppp/fsm.c
+++ b/usr.sbin/ppp/fsm.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: fsm.c,v 1.27.2.31 1998/04/23 21:50:07 brian Exp $
+ * $Id: fsm.c,v 1.27.2.32 1998/04/24 19:15:38 brian Exp $
*
* TODO:
*/
@@ -26,6 +26,7 @@
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
+#include <sys/un.h>
#include <string.h>
#include <termios.h>
@@ -261,8 +262,9 @@ FsmUp(struct fsm * fp)
{
switch (fp->state) {
case ST_INITIAL:
+ LogPrintf(fp->LogLevel, "FSM: Using \"%s\" as a transport\n",
+ fp->link->name);
NewState(fp, ST_CLOSED);
- LogPrintf(fp->LogLevel, "Using \"%s\" as a transport\n", fp->link->name);
break;
case ST_STARTING:
FsmInitRestartCounter(fp);