summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/defs.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-06-01 19:08:59 +0000
committerbrian <brian@FreeBSD.org>1999-06-01 19:08:59 +0000
commit25a14e6be5af8cb85e20ece06d1f1a51ca0f8633 (patch)
treedc1cb9952f54d949b98c6e8f205903ac14ba8bbd /usr.sbin/ppp/defs.h
parent562681fec0867c961d9c9aaf1465f0a2c8038829 (diff)
downloadFreeBSD-src-25a14e6be5af8cb85e20ece06d1f1a51ca0f8633.zip
FreeBSD-src-25a14e6be5af8cb85e20ece06d1f1a51ca0f8633.tar.gz
Increase the length of an individual device name to LINE_LEN.
Adjust the base physical device name correctly after a link transfer (allowing correct multilink callbacks).
Diffstat (limited to 'usr.sbin/ppp/defs.h')
-rw-r--r--usr.sbin/ppp/defs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ppp/defs.h b/usr.sbin/ppp/defs.h
index 4b9163a..56ddd89 100644
--- a/usr.sbin/ppp/defs.h
+++ b/usr.sbin/ppp/defs.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: defs.h,v 1.42 1999/04/27 00:23:54 brian Exp $
+ * $Id: defs.h,v 1.43 1999/05/08 11:06:28 brian Exp $
*
* TODO:
*/
@@ -43,8 +43,9 @@
#define RECONNECT_TIMEOUT 3 /* Default timer for carrier loss */
#define DIAL_TIMEOUT 30 /* Default and Max random time to redial */
#define DIAL_NEXT_TIMEOUT 3 /* Default Hold time to next number redial */
-#define SCRIPT_LEN 512 /* Size of login scripts */
-#define LINE_LEN SCRIPT_LEN /* Size of login scripts */
+#define SCRIPT_LEN 512 /* Size of login/dial/hangup scripts */
+#define LINE_LEN SCRIPT_LEN /* Size of lines */
+#define DEVICE_LEN SCRIPT_LEN /* Size of individual devices */
#define AUTHLEN 100 /* Size of authname/authkey */
#define CHAPDIGESTLEN 100 /* Maximum chap digest */
#define CHAPCHALLENGELEN 48 /* Maximum chap challenge */
OpenPOWER on IntegriCloud