mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-01 03:16:03 +00:00
Update some MIB2 comments
This commit is contained in:
parent
7412a0e74e
commit
7f699b36ff
@ -2052,12 +2052,12 @@ tcp_ConnTable_get_next_cell_instance_and_value(const u32_t* column, struct snmp_
|
|||||||
static snmp_err_t
|
static snmp_err_t
|
||||||
tcp_ConnectionTable_get_cell_value_core(const u32_t* column, struct tcp_pcb *pcb, union snmp_variant_value* value)
|
tcp_ConnectionTable_get_cell_value_core(const u32_t* column, struct tcp_pcb *pcb, union snmp_variant_value* value)
|
||||||
{
|
{
|
||||||
/* all items except tcpConnectionStatea and tcpListenerProcess are declared as not-accessible */
|
/* all items except tcpConnectionState and tcpConnectionProcess are declared as not-accessible */
|
||||||
switch (*column) {
|
switch (*column) {
|
||||||
case 7: /* tcpConnectionState */
|
case 7: /* tcpConnectionState */
|
||||||
value->u32 = pcb->state + 1;
|
value->u32 = pcb->state + 1;
|
||||||
break;
|
break;
|
||||||
case 8: /* tcpListenerProcess */
|
case 8: /* tcpConnectionProcess */
|
||||||
value->u32 = 0; /* not supported */
|
value->u32 = 0; /* not supported */
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user