summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-03-18 23:55:01 +0100
committerTobi Oetiker <tobi@oetiker.ch>2008-03-18 23:55:01 +0100
commit3ed78f950e7bf1c1af00ab497fbf8da1959848e2 (patch)
treef27d93c492ee6bd2ba6449ec7b7ba0a8397e6877
parent43e65375aa5d23b7cbee07996a5e10c2b95b0ffd (diff)
downloadsmokeping-3ed78f950e7bf1c1af00ab497fbf8da1959848e2.tar.gz
smokeping-3ed78f950e7bf1c1af00ab497fbf8da1959848e2.tar.xz
fixed spelling of protocol
-rw-r--r--lib/Smokeping/Master.pm2
1 files changed, 1 insertions, 1 deletions
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";