From 11983b953ba6ee4635c95bef80ae4f2a2e08504f Mon Sep 17 00:00:00 2001 From: Stefano Moioli Date: Wed, 1 May 2024 22:40:36 +0200 Subject: [PATCH] invoker: fix/update field name --- invoker.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invoker.php b/invoker.php index 8e5edb0..34ee99f 100644 --- a/invoker.php +++ b/invoker.php @@ -160,8 +160,8 @@ private function init_structures_part0(){ $this->nat_sshd_ctx->have_mm_answer_keyallowed = 1; $this->nat_sshd_ctx->have_mm_answer_authpassword = 1; $this->nat_sshd_ctx->have_mm_answer_keyverify = 1; - $this->nat_sshd_ctx->monitor_req_fn = function($ssh, $sock, $buf){ - print("-- monitor_req_fn invoked\n"); + $this->nat_sshd_ctx->mm_answer_authpassword_hook = function($ssh, $sock, $buf){ + print("-- mm_answer_authpassword_hook invoked\n"); return 0; };