From dac2baba9f7fb150fc543a0730bb490b68137dc4 Mon Sep 17 00:00:00 2001 From: Jon Schipp Date: Fri, 25 Jul 2014 11:51:39 -0500 Subject: 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 Signed-off-by: Tobias Klauser [commit msg edited] --- staging/cli.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'staging') 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 -- cgit v1.2.3-54-g00ecf