]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
[Bug 412] Rockwell modem incorrectly identified as AT&T dataport
authorDarren Nickerson <darren.nickerson@ifax.com>
Wed, 7 May 2003 04:08:54 +0000 (04:08 +0000)
committerDarren Nickerson <darren.nickerson@ifax.com>
Wed, 7 May 2003 04:08:54 +0000 (04:08 +0000)
It did, but it doesn't now! Thanks to Arjen de Korte and Lee Howard.

etc/faxaddmodem.sh.in

index 6d6eda111947c784c4c9b332c59af23e4d33a563..c70c4f7a8ff6dbe42624eed47724085b77f12129 100644 (file)
@@ -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.\";"