mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-04 05:39:53 +00:00
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:
parent
c289872ab7
commit
2c9ceea3cf
@ -51,7 +51,7 @@
|
|||||||
/** SNMP v1 == 0 */
|
/** SNMP v1 == 0 */
|
||||||
const s32_t snmp_version = 0;
|
const s32_t snmp_version = 0;
|
||||||
/** SNMP community string */
|
/** SNMP community string */
|
||||||
const char snmp_community[] = "public";
|
const char *snmp_community = "public";
|
||||||
|
|
||||||
/* statically allocated buffers for SNMP_CONCURRENT_REQUESTS */
|
/* statically allocated buffers for SNMP_CONCURRENT_REQUESTS */
|
||||||
struct snmp_msg_pstat msg_input_list[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 */
|
/** Agent Version constant, 0 = v1 oddity */
|
||||||
extern const s32_t snmp_version;
|
extern const s32_t snmp_version;
|
||||||
/** Agent community string */
|
/** Agent community string */
|
||||||
extern const char snmp_community[];
|
extern const char *snmp_community;
|
||||||
|
|
||||||
extern struct snmp_msg_trap trap_msg;
|
extern struct snmp_msg_trap trap_msg;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user