From 3ed78f950e7bf1c1af00ab497fbf8da1959848e2 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Tue, 18 Mar 2008 22:55:01 +0000 Subject: fixed spelling of protocol --- lib/Smokeping/Master.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Smokeping/Master.pm b/lib/Smokeping/Master.pm index c2f91ba..bbe5a24 100644 --- a/lib/Smokeping/Master.pm +++ b/lib/Smokeping/Master.pm @@ -219,7 +219,7 @@ sub answer_slave { print "WARNING: No secret found for slave ${slave}\n"; return; } - my $protcol = $q->param('protocol') || '?'; + my $protocol = $q->param('protocol') || '?'; if (not $protocol eq $PROTOCOL){ print "Content-Type: text/plain\n\n"; print "WARNING: I expected protocol $PROTOCOL and got $protocol from slave ${slave}. I will skip this.\n"; -- cgit v1.2.3-24-g4f1b