From 23a29f8647e3a7b15494b28406240d139514813d Mon Sep 17 00:00:00 2001 From: short <> Date: Fri, 28 Dec 2001 20:45:54 +0000 Subject: [PATCH] Fixed error message "Missing server name" -> "Missing server IP" +Error check producing "Missing server name" --- check.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.-]*$/ || -- 1.8.3.1