msg_in.c, snmp_msg.h: convert snmp_community to a modifiable pointer

Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
This commit is contained in:
Freddie Chopin
2014-02-03 12:52:22 +01:00
committed by sg
parent c289872ab7
commit 2c9ceea3cf
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@
/** SNMP v1 == 0 */
const s32_t snmp_version = 0;
/** SNMP community string */
const char snmp_community[] = "public";
const char *snmp_community = "public";
/* statically allocated buffers for SNMP_CONCURRENT_REQUESTS */
struct snmp_msg_pstat msg_input_list[SNMP_CONCURRENT_REQUESTS];