summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelie <elie>2015-07-05 16:44:45 +0000
committerelie <elie>2015-07-05 16:44:45 +0000
commit2f598fb4962cdd3b1bce5148581651654d78231e (patch)
treeffb843e43a2ca3c4144b204fa22af2d622e23818
parent708201f6c9a9dc91beedce5c4ecdde046ba50d85 (diff)
downloadpysnmp-2f598fb4962cdd3b1bce5148581651654d78231e.tar.gz
use named enumerarion for clarity
-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 b4471bb..9bb4920 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(0)).setMaxAccess('readcreate')
+ exampleTableStatus=MibTableColumn((1,3,6,6,1,5,4), RowStatus('notExists')).setMaxAccess('readcreate')
)
# --- end of custom SNMP table definition, empty table now exists ---