aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd/main.cc
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2002-03-16 23:10:52 +0000
committerFritz Elfert <felfert@to.com>2002-03-16 23:10:52 +0000
commit193af441a127a0daabbd17c512e34817ddbcadfd (patch)
treedeef4cbfdf258ae3c7d8cde2b43a611520f73632 /ncpd/main.cc
parent7121719ec7f473c3d26873d688179a7d7f466026 (diff)
downloadplptools-193af441a127a0daabbd17c512e34817ddbcadfd.tar.gz
plptools-193af441a127a0daabbd17c512e34817ddbcadfd.tar.bz2
plptools-193af441a127a0daabbd17c512e34817ddbcadfd.zip
- ncpd now works with both Series 3 and Series 5
- ncpd now has autobaud feature (default on), which cycles baudrate - lib: added getSpeed() for retrieving current speed of connection - plpftp: Use getSpeed() - plpbackup: Ongoing work - configure stuff: removed several entries from acconfig.h comments now defined as 3rd arg to AC_DEFINE...
Diffstat (limited to 'ncpd/main.cc')
-rw-r--r--ncpd/main.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/ncpd/main.cc b/ncpd/main.cc
index f1f7f14..4771744 100644
--- a/ncpd/main.cc
+++ b/ncpd/main.cc
@@ -288,7 +288,10 @@ main(int argc, char **argv)
autoexit = true;
break;
case 'b':
- baudRate = atoi(optarg);
+ if (!strcmp(optarg, "auto"))
+ baudRate = -1;
+ else
+ baudRate = atoi(optarg);
break;
case 's':
serialDevice = optarg;