summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/defs.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/defs.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/defs.h')
-rw-r--r--usr.sbin/ppp/defs.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/ppp/defs.h b/usr.sbin/ppp/defs.h
index 48f0677..c47a46a 100644
--- a/usr.sbin/ppp/defs.h
+++ b/usr.sbin/ppp/defs.h
@@ -15,21 +15,22 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: defs.h,v 1.40 1999/02/25 20:05:55 brian Exp $
+ * $Id: defs.h,v 1.41 1999/02/26 21:28:10 brian Exp $
*
* TODO:
*/
/* Check the following definitions for your machine environment */
#ifdef __FreeBSD__
-# define MODEM_LIST "/dev/cuaa1, /dev/cuaa0" /* name of tty device */
+# define MODEM_LIST "/dev/cuaa1\0/dev/cuaa0" /* name of tty device */
#else
# ifdef __OpenBSD__
-# define MODEM_LIST "/dev/cua01, /dev/cua00" /* name of tty device */
+# define MODEM_LIST "/dev/cua01\0/dev/cua00" /* name of tty device */
# else
-# define MODEM_LIST "/dev/tty01, /dev/tty00" /* name of tty device */
+# define MODEM_LIST "/dev/tty01\0/dev/tty00" /* name of tty device */
# endif
#endif
+#define NMODEMS 2
#define _PATH_PPP "/etc/ppp"
OpenPOWER on IntegriCloud