From: Russ Allbery Date: Fri, 26 Aug 2005 07:59:15 +0000 (+0000) Subject: Use inet_ntoa on IP addresses we're printing out. X-Git-Tag: debian/1.4rc1-1~5 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=aae59f6ddaa566b06beac63903c2fe05d8b087f5;p=packages%2Fo%2Fopenafs.git Use inet_ntoa on IP addresses we're printing out. --- diff --git a/debian/afs-newcell b/debian/afs-newcell index ce17b8776..abddb18e4 100644 --- a/debian/afs-newcell +++ b/debian/afs-newcell @@ -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); }