summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelie <elie>2015-07-05 15:04:43 +0000
committerelie <elie>2015-07-05 15:04:43 +0000
commit708201f6c9a9dc91beedce5c4ecdde046ba50d85 (patch)
treef4d2f26e83cdedb4058939f615c2db90ad322420
parentb2446e8a9841625abed2e0b67185751b7f17b208 (diff)
downloadpysnmp-708201f6c9a9dc91beedce5c4ecdde046ba50d85.tar.gz
RowStatus needs initialization
-rw-r--r--examples/v3arch/agent/cmdrsp/v2c-custom-tabular-mib-objects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/v3arch/agent/cmdrsp/v2c-custom-tabular-mib-objects.py b/examples/v3arch/agent/cmdrsp/v2c-custom-tabular-mib-objects.py
index f6381dc..b4471bb 100644
--- a/examples/v3arch/agent/cmdrsp/v2c-custom-tabular-mib-objects.py
+++ b/examples/v3arch/agent/cmdrsp/v2c-custom-tabular-mib-objects.py
@@ -81,7 +81,7 @@ mibBuilder.exportSymbols(
# table column: integer value with default
exampleTableColumn3=MibTableColumn((1,3,6,6,1,5,3), v2c.Integer32(123)).setMaxAccess('readcreate'),
# table column: row status
- exampleTableStatus=MibTableColumn((1,3,6,6,1,5,4), RowStatus()).setMaxAccess('readcreate')
+ exampleTableStatus=MibTableColumn((1,3,6,6,1,5,4), RowStatus(0)).setMaxAccess('readcreate')
)
# --- end of custom SNMP table definition, empty table now exists ---