summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/vars.h
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>1997-12-29 22:23:10 +0000
committerbrian <brian@cvs.openbsd.org>1997-12-29 22:23:10 +0000
commit616e3392f75cac20765939a1807a283aaae71608 (patch)
tree9dae5b27789df98d713a1d8253fcfebad7bf3923 /usr.sbin/ppp/vars.h
parentc061429ad5940d86fb941daf4b4a36e42a7d9549 (diff)
Show how much time is left before timing out in the
`show timeout' output. Remove ipIdleSecs variable - it's not used.
Diffstat (limited to 'usr.sbin/ppp/vars.h')
-rw-r--r--usr.sbin/ppp/vars.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/ppp/vars.h b/usr.sbin/ppp/vars.h
index d59ecea4c2f..03bdd167925 100644
--- a/usr.sbin/ppp/vars.h
+++ b/usr.sbin/ppp/vars.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: vars.h,v 1.3 1997/12/21 03:15:58 brian Exp $
+ * $Id: vars.h,v 1.4 1997/12/29 22:23:09 brian Exp $
*
* TODO:
*/
@@ -160,7 +160,6 @@ extern int ipInOctets;
extern int ipOutOctets;
extern int ipKeepAlive;
extern int ipConnectSecs;
-extern int ipIdleSecs;
extern int reconnectState;
extern int reconnectCount;
@@ -170,8 +169,8 @@ extern int reconnectCount;
#define RECON_ENVOKED (4)
#define reconnect(x) \
do \
- if (reconnectState == RECON_UNKNOWN) { \
- reconnectState = x; \
+ if (reconnectState == RECON_UNKNOWN) { \
+ reconnectState = x; \
if (x == RECON_FALSE) \
reconnectCount = 0; \
} \