From: Darren Nickerson Date: Wed, 7 May 2003 04:08:54 +0000 (+0000) Subject: [Bug 412] Rockwell modem incorrectly identified as AT&T dataport X-Git-Tag: HYLAFAX-4_1_6BETA1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7300a8961ca42ba41c4a4e031a7db35fbe981817;p=thirdparty%2FHylaFAX.git [Bug 412] Rockwell modem incorrectly identified as AT&T dataport It did, but it doesn't now! Thanks to Arjen de Korte and Lee Howard. --- diff --git a/etc/faxaddmodem.sh.in b/etc/faxaddmodem.sh.in index 6d6eda11..c70c4f7a 100644 --- a/etc/faxaddmodem.sh.in +++ b/etc/faxaddmodem.sh.in @@ -1070,7 +1070,7 @@ configureClass1Modem() BEGIN { proto = "" } FILENAME ~ /^OLD/ { next } FILENAME ~ /^config\./ { next } -C ~ $4 && I ~ $5 && F ~ $6 { +(C == $4 || (C ~ $4 && $4 ~ "*")) && I ~ $5 && F ~ $6 { if (proto != "") { print "echo \"Warning, multiple configuration files exist for this modem,\";" print "echo \" the file " $1 " is ignored.\";"