Accommodate more ACL rules.

This commit is contained in:
Michael Smith 2018-03-15 22:43:31 +01:00
parent b2eb42d084
commit c4ab0ff14a
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
#include "lwip/pbuf.h" #include "lwip/pbuf.h"
#define MAX_NO_ACLS 4 #define MAX_NO_ACLS 4
#define MAX_ACL_ENTRIES 20 #define MAX_ACL_ENTRIES 30
#define ACL_DENY 0x0 #define ACL_DENY 0x0
#define ACL_ALLOW 0x1 #define ACL_ALLOW 0x1

View File

@ -395,7 +395,7 @@ console_handle_command(struct espconn *pespconn)
#define MAX_CMD_TOKENS 20 #define MAX_CMD_TOKENS 20
char cmd_line[MAX_CON_CMD_SIZE+1]; char cmd_line[MAX_CON_CMD_SIZE+1];
char response[512]; char response[1024];
char *tokens[MAX_CMD_TOKENS]; char *tokens[MAX_CMD_TOKENS];
int bytes_count, nTokens; int bytes_count, nTokens;