mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-17 17:10:03 +00:00
msg_in.c, snmp_msg.h: don't hardcode size of community string
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
This commit is contained in:
parent
9b4564d7f3
commit
9469bdc93e
@ -51,7 +51,7 @@
|
||||
/** SNMP v1 == 0 */
|
||||
const s32_t snmp_version = 0;
|
||||
/** default SNMP community string */
|
||||
const char snmp_publiccommunity[7] = "public";
|
||||
const char snmp_publiccommunity[] = "public";
|
||||
|
||||
/* statically allocated buffers for SNMP_CONCURRENT_REQUESTS */
|
||||
struct snmp_msg_pstat msg_input_list[SNMP_CONCURRENT_REQUESTS];
|
||||
|
@ -283,7 +283,7 @@ struct snmp_msg_trap
|
||||
/** Agent Version constant, 0 = v1 oddity */
|
||||
extern const s32_t snmp_version;
|
||||
/** Agent default "public" community string */
|
||||
extern const char snmp_publiccommunity[7];
|
||||
extern const char snmp_publiccommunity[];
|
||||
|
||||
extern struct snmp_msg_trap trap_msg;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user