From 193af441a127a0daabbd17c512e34817ddbcadfd Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Sat, 16 Mar 2002 23:10:52 +0000 Subject: - 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... --- ncpd/main.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ncpd/main.cc') 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; -- cgit v1.2.3