X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=bin%2FBackupPC_restore;h=1a5e487f8a749c61630114081ca9ae1bc783f45a;hp=4549ccfc3ca4b8d0f00a1d6208ae8b5b393c8cd3;hb=2441b9094f3f6e4f2a3a4fe67781780e6f6890bd;hpb=3d15da9b2c6de8018c02677549678d6d769234b5 diff --git a/bin/BackupPC_restore b/bin/BackupPC_restore index 4549ccf..1a5e487 100755 --- a/bin/BackupPC_restore +++ b/bin/BackupPC_restore @@ -29,7 +29,7 @@ # #======================================================================== # -# Version 3.1.0, released 25 Nov 2007. +# Version 3.2.0beta0, released 17 Jan 2009. # # See http://backuppc.sourceforge.net. # @@ -461,7 +461,7 @@ sub CorrectHostCheck || $Conf{NmbLookupCmd} eq "" ); my($netBiosHost, $netBiosUser) = $bpc->NetBiosInfoGet($hostIP); return "host $host has mismatching netbios name $netBiosHost" - if ( $netBiosHost ne $host ); + if ( lc($netBiosHost) ne lc(substr($host, 0, 15)) ); return; }