mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-19 22:56:57 +08:00
SNMP: tiny preparation for SNMP to support more versions than just v1: store request version in struct snmp_msg_pstat so that the response can be sent with the same version (v2c might already work but getbulk is missing)
This commit is contained in:
@@ -226,6 +226,8 @@ struct snmp_msg_pstat
|
||||
ip_addr_t sip;
|
||||
/* source UDP port */
|
||||
u16_t sp;
|
||||
/* incoming snmp version */
|
||||
u8_t version;
|
||||
/* request type */
|
||||
u8_t rt;
|
||||
/* request ID */
|
||||
|
||||
Reference in New Issue
Block a user