Merge branch 'master' of ssh://git.sv.gnu.org:/srv/git/lwip

This commit is contained in:
Dirk Ziegelmeier 2016-01-05 10:00:21 +01:00
commit e033866651

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: