From 53c31b5e314f2717f730969974cd6ef36d9fe76c Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Wed, 19 Mar 2008 15:29:04 +0000 Subject: send the protocol number with OK too, the slave is expecting it --- lib/Smokeping/Master.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Smokeping/Master.pm') 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; } -- cgit v1.2.3-24-g4f1b