From: short <> Date: Fri, 28 Dec 2001 20:45:54 +0000 (+0000) Subject: Fixed error message "Missing server name" -> "Missing server IP" X-Git-Url: http://git.jankratochvil.net/?p=sleuth.git;a=commitdiff_plain;h=23a29f8647e3a7b15494b28406240d139514813d Fixed error message "Missing server name" -> "Missing server IP" +Error check producing "Missing server name" --- diff --git a/check.cgi b/check.cgi index c415e1c..1ab4eff 100755 --- a/check.cgi +++ b/check.cgi @@ -123,8 +123,10 @@ In case this page looks a bit weird, your browser probably tries to support the style sheets, but does it wrongly (hello, Netscape 4). EOF ; -} elsif ($secondary ne "" && $serverip eq "") { +} elsif ($secondary ne "" && $server eq "") { $msg = "Missing server name"; +} elsif ($secondary ne "" && $serverip eq "") { + $msg = "Missing server IP"; } elsif ($secondary ne "" && $submitter eq "" && $need_submitter) { $msg = "Please fill in who is submitting the zone"; } elsif ($server !~ /^[0-9A-Za-z.-]*$/ ||