From a7777555d2707ee9353d647ef4030ef00480b6f9 Mon Sep 17 00:00:00 2001 From: Ben Greear Date: Mon, 9 Mar 2020 14:30:03 -0700 Subject: [PATCH] Utils: Make sure the connect() logic disables brief output mode. Otherwise, we hang waiting for RSLT, which is not sent in brief mode. --- LANforge/Utils.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/LANforge/Utils.pm b/LANforge/Utils.pm index fcc2dce5..b5db4cce 100644 --- a/LANforge/Utils.pm +++ b/LANforge/Utils.pm @@ -42,6 +42,7 @@ sub connect { Timeout => 2); $t->max_buffer_length(16 * 1024 * 1000); # 16 MB buffer $t->waitfor($self->{prompt}); + $t->print("set_flag brief 0"); # If we leave it brief, RSLT prompt is not shown. if ($self->isQuiet()) { if (defined $ENV{'LOG_CLI'} && $ENV{'LOG_CLI'} ne "") { $self->cli_send_silent(0);