SNMP MIB Viewer: Adapt to changes in SNMP framework that were required to compile UDP-MIB and TCP-MIB

This commit is contained in:
Dirk Ziegelmeier 2016-01-11 12:25:47 +01:00
parent 156ad0dbf5
commit 44256740bd

View File

@ -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)
{