diff options
author | Jon Schipp <jonschipp@gmail.com> | 2014-07-24 18:01:43 +0000 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-07-25 08:21:58 +0200 |
commit | 2de653340c789c2ef4b442b146c3f3e53e306c31 (patch) | |
tree | 4a080d8db93f368acaa0360422df92873da6d3cf /staging/cli.h | |
parent | 52463b7934760b1afabd6523913a48ba2a7c51ee (diff) |
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 <jonschipp@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/cli.h')
-rw-r--r-- | staging/cli.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |