From d851846929f8b207a41a8f46613e0612239b9d36 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Fri, 4 Aug 2017 14:54:00 +0200 Subject: [PATCH] qm mtunnel: add tunnel version MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit to allow detection of supported features/commands for these and future mtunnel changes. Signed-off-by: Fabian Grünbichler --- PVE/CLI/qm.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PVE/CLI/qm.pm b/PVE/CLI/qm.pm index e192153..07e3b2e 100755 --- a/PVE/CLI/qm.pm +++ b/PVE/CLI/qm.pm @@ -268,6 +268,9 @@ __PACKAGE__->register_method ({ print "tunnel online\n"; *STDOUT->flush(); + print "ver 1\n"; + *STDOUT->flush(); + while (my $line = <>) { chomp $line; last if $line =~ m/^quit$/; -- 2.39.2