From c0cbd64438fb23f0d8458244909a1f0e8634dd6d Mon Sep 17 00:00:00 2001 From: elie Date: Thu, 4 Jun 2015 06:11:25 +0000 Subject: use @mib@ placeholder instead of at pysmi --- examples/smi/mib-lookup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/smi/mib-lookup.py b/examples/smi/mib-lookup.py index 12fcfb5..1c83afa 100644 --- a/examples/smi/mib-lookup.py +++ b/examples/smi/mib-lookup.py @@ -14,7 +14,7 @@ mibVar = rfc1902.ObjectIdentity('IF-MIB', 'ifInOctets', 1) # create pysnmp MIBs on demand from ASN.1 sources downloaded from # a web site. try: - mibVar.addMibCompiler('http://mibs.snmplabs.com/asn1/') + mibVar.addMibCompiler('http://mibs.snmplabs.com/asn1/@mib@') except error.SmiError: print('WARNING: not using MIB compiler (PySMI not installed)') -- cgit v1.2.1