summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2008-03-19 16:29:04 +0100
committerNiko Tyni <ntyni@iki.fi>2008-03-19 16:29:04 +0100
commit53c31b5e314f2717f730969974cd6ef36d9fe76c (patch)
tree03f9522e84985a7a594783e0e90c8268a2de423f /lib
parentbac48a06638f1e8dfdc23980c3cea2fa30ae16e8 (diff)
downloadsmokeping-53c31b5e314f2717f730969974cd6ef36d9fe76c.tar.gz
smokeping-53c31b5e314f2717f730969974cd6ef36d9fe76c.tar.xz
send the protocol number with OK too, the slave is expecting it
Diffstat (limited to 'lib')
-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 f8704a0..9e69b28 100644
--- a/lib/Smokeping/Master.pm
+++ b/lib/Smokeping/Master.pm
@@ -269,7 +269,7 @@ sub answer_slave {
return;
}
} else {
- print "Content-Type: text/plain\n\nOK\n";
+ print "Content-Type: text/plain\nProtocol: $PROTOCOL\n\nOK\n";
};
return;
}