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 /mausezahn.zsh | |
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 'mausezahn.zsh')
-rw-r--r-- | mausezahn.zsh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mausezahn.zsh b/mausezahn.zsh index b6934db..57a56a1 100644 --- a/mausezahn.zsh +++ b/mausezahn.zsh @@ -42,6 +42,7 @@ _interfaces () { _arguments -s -S \ "-x[Interactive mode with telnet CLI, default port: 25542]" \ + "-l[Listen address in interactive mode, default: 0.0.0.0]" \ "(-6)-4[IPv4 mode (default)]" \ "(-4)-6[IPv6 mode]" \ "-c[Send packet count times, default:1, infinite:0]" \ |