summaryrefslogtreecommitdiff
path: root/staging
diff options
context:
space:
mode:
authorJon Schipp <jonschipp@gmail.com>2014-07-25 11:51:39 -0500
committerTobias Klauser <tklauser@distanz.ch>2014-07-28 12:13:54 +0200
commitdac2baba9f7fb150fc543a0730bb490b68137dc4 (patch)
treee4b87c7fbd8a9cd2448be78e92f7ccc19ca0a9c7 /staging
parent77a4bf3b15f7655af738432691a764ac54b3d66a (diff)
mausezahn: cli.h: increase buffer size
Tobias pointed out and fixed in commit 9ef1dd15551f ("mausezahn: Increase buffer size for listen address string") that the buffer isn't log enough to hold the null terminator character. The declaration of the buffer in cli.h was missed though. Signed-off-by: Jon Schipp <jonschipp@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch> [commit msg edited]
Diffstat (limited to 'staging')
-rw-r--r--staging/cli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/staging/cli.h b/staging/cli.h
index dd8e5e1..bc2ab2c 100644
--- a/staging/cli.h
+++ b/staging/cli.h
@@ -59,7 +59,7 @@ struct cli_def *gcli;
char mz_username[32];
char mz_password[32];
char mz_enable[32];
-char mz_listen_addr[15];
+char mz_listen_addr[16];
int mz_port;
struct mops *clipkt; // actual packet used by CLI thread