summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/physical.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-04-27 00:23:57 +0000
committerbrian <brian@FreeBSD.org>1999-04-27 00:23:57 +0000
commit9a2c03d6d76e5e3efcf4e4fd7ffd836059d91408 (patch)
tree2544e9ba2af3cbfd7749f4d13a043c59f31c0890 /usr.sbin/ppp/physical.h
parent37aa35f17ea62e5c9e35c2d79271bb178d428de8 (diff)
downloadFreeBSD-src-9a2c03d6d76e5e3efcf4e4fd7ffd836059d91408.zip
FreeBSD-src-9a2c03d6d76e5e3efcf4e4fd7ffd836059d91408.tar.gz
Change ``set device'' so that it parses its arguments as one
device per argument rather than the old way of concatenating everything then splitting the result at commas and whitespace. Old syntax of ``set device /dev/cuaa0, /dev/cuaa1'' may no longer contain the comma, but syntax such as ``set device "!ssh host ppp -direct label"'' is now possible.
Diffstat (limited to 'usr.sbin/ppp/physical.h')
-rw-r--r--usr.sbin/ppp/physical.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/physical.h b/usr.sbin/ppp/physical.h
index b233c75..b6f95bb 100644
--- a/usr.sbin/ppp/physical.h
+++ b/usr.sbin/ppp/physical.h
@@ -16,7 +16,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: physical.h,v 1.6 1999/02/16 00:16:56 brian Exp $
+ * $Id: physical.h,v 1.7 1999/04/03 11:54:00 brian Exp $
*
*/
@@ -55,7 +55,8 @@ struct physical {
unsigned rts_cts : 1; /* Is rts/cts enabled? */
unsigned parity; /* What parity is enabled? (TTY flags) */
unsigned speed; /* Modem speed */
- char devlist[LINE_LEN]; /* Comma-separated list of devices */
+ char devlist[LINE_LEN]; /* NUL separated list of devices */
+ int ndev; /* number of devices in list */
struct {
unsigned required : 1; /* Is cd *REQUIRED* on this device */
int delay; /* Wait this many seconds after login script */
OpenPOWER on IntegriCloud