]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Use inet_ntoa on IP addresses we're printing out.
authorRuss Allbery <rra@debian.org>
Fri, 26 Aug 2005 07:59:15 +0000 (07:59 +0000)
committerRuss Allbery <rra@debian.org>
Fri, 26 Aug 2005 07:59:15 +0000 (07:59 +0000)
debian/afs-newcell

index ce17b8776af49f27640d8e7cbd821b7b4460cff0..abddb18e4c915f7932f9aaf40f511b72d73cb6d4 100644 (file)
@@ -78,6 +78,7 @@ In order to set up a new AFS cell, you must meet the following:
    at the end of this script.
 
 eoreqs
+#'# cperl-mode
 
     $_ = $rl->readline("Do you meet these requirements? [y/n] ");
     unless (/^y/i ) {
@@ -168,7 +169,7 @@ unless ($found) {
     print "The new cell $cell is not configured in /etc/openafs/CellServDB\n";
     print "Add configuration like:\n\n";
     print ">$cell\n";
-    print "$ip\n\n";
+    print inet_ntoa($ip), "\n\n";
     print "to that file before continuing.\n";
     exit(1);
 }