From aae59f6ddaa566b06beac63903c2fe05d8b087f5 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Fri, 26 Aug 2005 07:59:15 +0000 Subject: [PATCH] Use inet_ntoa on IP addresses we're printing out. --- debian/afs-newcell | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.5