log vty commands

Change-Id: I25ddeaf8d859f98b4f11ba27310b8eef034a09f2
This commit is contained in:
Neels Hofmeyr 2020-11-25 23:32:27 +00:00
parent 99b837ad09
commit 68214aadd6
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ module Osmocom_VTY_Functions {
/* send a VTY command and obtain response until prompt is received */
function f_vty_transceive_ret(TELNETasp_PT pt, charstring tx, boolean strict := true) return charstring {
log("VTY: ", tx);
pt.send(tx);
return f_vty_wait_for_prompt(pt, strict, tx);
}