From 44256740bdc2da4f1d368f03ca6c611f3bb967c5 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Mon, 11 Jan 2016 12:25:47 +0100 Subject: [PATCH] SNMP MIB Viewer: Adapt to changes in SNMP framework that were required to compile UDP-MIB and TCP-MIB --- src/apps/snmp/LwipMibCompiler/LwipMibViewer/FormMain.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/snmp/LwipMibCompiler/LwipMibViewer/FormMain.cs b/src/apps/snmp/LwipMibCompiler/LwipMibViewer/FormMain.cs index 3ed25365..7d2490db 100644 --- a/src/apps/snmp/LwipMibCompiler/LwipMibViewer/FormMain.cs +++ b/src/apps/snmp/LwipMibCompiler/LwipMibViewer/FormMain.cs @@ -142,9 +142,9 @@ namespace LwipMibViewer this.listviewNodeDetails.Items.Clear(); MibTree mt = new MibTree(md.Modules[0] as MibModule); - if (mt.Root != null) + foreach (MibTreeNode mibTreeNode in mt.Root) { - AddNode(mt.Root, this.treeMib.Nodes); + AddNode(mibTreeNode, this.treeMib.Nodes); foreach (TreeNode node in this.treeMib.Nodes) {