nvtsrv: Change some log messages to debug

This commit is contained in:
Kim Woelders
2024-11-10 13:29:44 +01:00
parent cd5de2fe5d
commit 55c5d0d226
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -138,8 +138,7 @@ void telnet_rfc2217_handle_opt(tn_ctx_t *tcc, int opt,
case 9: /* Set DTR Signal State OFF */
valo = vali;
tcc->dtr_state = (valo == 8) ? 1 : 0;
nvt_log(LOG_INFO, "RFC2217: Set DTR %s",
tcc->dtr_state ? "on" : "off");
DBG("RFC2217: Set DTR %s", tcc->dtr_state ? "on" : "off");
goto do_ctl_reply;
case 10: /* Request RTS Signal State */
@@ -149,8 +148,7 @@ void telnet_rfc2217_handle_opt(tn_ctx_t *tcc, int opt,
case 12: /* Set RTS Signal State OFF */
valo = vali;
tcc->rts_state = (valo == 11) ? 1 : 0;
nvt_log(LOG_INFO, "RFC2217: Set RTS %s",
tcc->rts_state ? "on" : "off");
DBG("RFC2217: Set RTS %s", tcc->rts_state ? "on" : "off");
goto do_ctl_reply;
case 13: /* Request Com Port Flow Control Setting (inbound) */