summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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";