diff options
author | elie <elie> | 2015-06-04 06:11:25 +0000 |
---|---|---|
committer | elie <elie> | 2015-06-04 06:11:25 +0000 |
commit | f64b96d0bd87ad091a841e2cf0afdfa7690eb2b6 (patch) | |
tree | ef226ff232fafe0f8529154d4359eb61c33de425 | |
parent | 5cee646ddb1b5a97c1d6100a5339c01785bcc8b0 (diff) | |
download | pysnmp-git-f64b96d0bd87ad091a841e2cf0afdfa7690eb2b6.tar.gz |
use @mib@ placeholder instead of <mib> at pysmi
-rw-r--r-- | examples/smi/manager/var-binds-mib-resolution.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/smi/manager/var-binds-mib-resolution.py b/examples/smi/manager/var-binds-mib-resolution.py index 12fcfb5f..1c83afa0 100644 --- a/examples/smi/manager/var-binds-mib-resolution.py +++ b/examples/smi/manager/var-binds-mib-resolution.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/<mib>') + mibVar.addMibCompiler('http://mibs.snmplabs.com/asn1/@mib@') except error.SmiError: print('WARNING: not using MIB compiler (PySMI not installed)') |