From c4ab0ff14a82327e9a688ae27a55386d20e783ed Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 15 Mar 2018 22:43:31 +0100 Subject: [PATCH] Accommodate more ACL rules. --- user/acl.h | 2 +- user/user_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/user/acl.h b/user/acl.h index f726346..59f8859 100644 --- a/user/acl.h +++ b/user/acl.h @@ -5,7 +5,7 @@ #include "lwip/pbuf.h" #define MAX_NO_ACLS 4 -#define MAX_ACL_ENTRIES 20 +#define MAX_ACL_ENTRIES 30 #define ACL_DENY 0x0 #define ACL_ALLOW 0x1 diff --git a/user/user_main.c b/user/user_main.c index 046e1d0..0c8b1ab 100644 --- a/user/user_main.c +++ b/user/user_main.c @@ -395,7 +395,7 @@ console_handle_command(struct espconn *pespconn) #define MAX_CMD_TOKENS 20 char cmd_line[MAX_CON_CMD_SIZE+1]; - char response[512]; + char response[1024]; char *tokens[MAX_CMD_TOKENS]; int bytes_count, nTokens;