Update some MIB2 comments

This commit is contained in:
Dirk Ziegelmeier 2016-01-04 21:27:24 +01:00
parent 7412a0e74e
commit 7f699b36ff

View File

@ -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: