diff options
author | brian <brian@FreeBSD.org> | 1997-09-03 00:40:51 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-09-03 00:40:51 +0000 |
commit | 42c1dbe984c79c814ba81ffa653a825839a60133 (patch) | |
tree | df85d748ce7f5610f631a77e6407b8f2c42adcd7 /usr.sbin/ppp/os.c | |
parent | 24ac227fe1eed875b0afed20b605ebefdb25b533 (diff) | |
download | FreeBSD-src-42c1dbe984c79c814ba81ffa653a825839a60133.zip FreeBSD-src-42c1dbe984c79c814ba81ffa653a825839a60133.tar.gz |
Allow the transition from an idle timeout value
of zero (no timeout) while IPCP is up.
Move some prototypes into .h files and re-order
some includes.
Diffstat (limited to 'usr.sbin/ppp/os.c')
-rw-r--r-- | usr.sbin/ppp/os.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/ppp/os.c b/usr.sbin/ppp/os.c index 9cd9e75..f8eed52 100644 --- a/usr.sbin/ppp/os.c +++ b/usr.sbin/ppp/os.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: os.c,v 1.24 1997/08/25 00:29:23 brian Exp $ + * $Id: os.c,v 1.25 1997/08/31 22:59:44 brian Exp $ * */ #include "fsm.h" @@ -224,6 +224,12 @@ OsLinkup() } } +int +OsLinkIsUp() +{ + return linkup; +} + void OsLinkdown() { |