From 7f699b36ffb18317fa2de1f5e469d6c2cbe1490d Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Mon, 4 Jan 2016 21:27:24 +0100 Subject: [PATCH] Update some MIB2 comments --- src/apps/snmp/snmp_mib2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/snmp/snmp_mib2.c b/src/apps/snmp/snmp_mib2.c index c9b8f939..5e86278d 100644 --- a/src/apps/snmp/snmp_mib2.c +++ b/src/apps/snmp/snmp_mib2.c @@ -2052,12 +2052,12 @@ tcp_ConnTable_get_next_cell_instance_and_value(const u32_t* column, struct snmp_ static snmp_err_t 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) { case 7: /* tcpConnectionState */ value->u32 = pcb->state + 1; break; - case 8: /* tcpListenerProcess */ + case 8: /* tcpConnectionProcess */ value->u32 = 0; /* not supported */ break; default: