summaryrefslogtreecommitdiff
path: root/examples/smi
diff options
context:
space:
mode:
authorelie <elie>2006-12-15 23:24:15 +0000
committerelie <elie>2006-12-15 23:24:15 +0000
commitd003d0ce67bd4f79a70ed36c8ea7aab830ee4b34 (patch)
treee530e443d4c48fcd34509ba507e269648ff9a65d /examples/smi
parent0b71a76fd1b1d5afd0b2368241463de6093dcb10 (diff)
downloadpysnmp-d003d0ce67bd4f79a70ed36c8ea7aab830ee4b34.tar.gz
initialize normally non-accessible table column instance to make this
example workable
Diffstat (limited to 'examples/smi')
-rw-r--r--examples/smi/backend.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/smi/backend.py b/examples/smi/backend.py
index e485092..d53c283 100644
--- a/examples/smi/backend.py
+++ b/examples/smi/backend.py
@@ -13,7 +13,8 @@ print 'done'
print 'Remote manager write/create access to MIB instrumentation: ',
print mibInstrum.writeVars(
- (((1,3,6,1,6,3,18,1,1,1,2,109,121,110,109,115), 'mycomm'),
+ (((1,3,6,1,6,3,18,1,1,1,1,109,121,110,109,115), 'mynms'),
+ ((1,3,6,1,6,3,18,1,1,1,2,109,121,110,109,115), 'mycomm'),
((1,3,6,1,6,3,18,1,1,1,3,109,121,110,109,115), 'mynmsname'),
((1,3,6,1,6,3,18,1,1,1,7,109,121,110,109,115), 'volatile'))
)