]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Also use inet_ntoa before comparing to textual IP addresses.
authorRuss Allbery <rra@debian.org>
Fri, 26 Aug 2005 08:01:24 +0000 (08:01 +0000)
committerRuss Allbery <rra@debian.org>
Fri, 26 Aug 2005 08:01:24 +0000 (08:01 +0000)
debian/afs-newcell

index abddb18e4c915f7932f9aaf40f511b72d73cb6d4..725d526b9064d5fb6a0f6c02c100183ca87b9fe7 100644 (file)
@@ -157,7 +157,7 @@ while (<CELLSERVDB>) {
     while (<CELLSERVDB>) {
         last if /^>/;
         my ($dbserver) = split ' ';
-        if ($dbserver eq $ip) {
+        if ($dbserver eq inet_ntoa($ip)) {
             $found = 1;
             last;
         }