added SmbHostName (which can be specified in hosts.pl file) to override
[BackupPC.git] / lib / BackupPC / Xfer / Smb.pm
index 8a9ba26..dbc5600 100644 (file)
@@ -29,7 +29,7 @@
 #
 #========================================================================
 #
-# Version 2.1.0, released 20 Jun 2004.
+# Version 2.1.1, released 13 Mar 2005.
 #
 # See http://backuppc.sourceforge.net.
 #
@@ -139,7 +139,7 @@ sub start
     }
     my $args = {
        smbClientPath => $conf->{SmbClientPath},
-       host          => $t->{host},
+       host          => $conf->{SmbHostName} || $t->{host},
        hostIP        => $t->{hostIP},
        client        => $t->{client},
        shareName     => $t->{shareName},