From 2de653340c789c2ef4b442b146c3f3e53e306c31 Mon Sep 17 00:00:00 2001 From: Jon Schipp Date: Thu, 24 Jul 2014 18:01:43 +0000 Subject: mausezahn: bind to IP address in interactive mode Adds new option ``-l'' that can be used to set mausezahn's listen address to bind to an IP of choice. e.g. mausezahn -l 127.0.0.1 -x Signed-off-by: Jon Schipp Signed-off-by: Tobias Klauser --- staging/cli.h | 1 + 1 file changed, 1 insertion(+) (limited to 'staging/cli.h') diff --git a/staging/cli.h b/staging/cli.h index 5762de4..dd8e5e1 100644 --- a/staging/cli.h +++ b/staging/cli.h @@ -59,6 +59,7 @@ struct cli_def *gcli; char mz_username[32]; char mz_password[32]; char mz_enable[32]; +char mz_listen_addr[15]; int mz_port; struct mops *clipkt; // actual packet used by CLI thread -- cgit v1.2.3-54-g00ecf