diff options
author | elie <elie> | 2005-06-28 19:09:11 +0000 |
---|---|---|
committer | elie <elie> | 2005-06-28 19:09:11 +0000 |
commit | 598f5d151b84a4b07d26fed5fe66b42466fc5d9b (patch) | |
tree | 1068aae8f2c167d5d290a2ae86ed1b0d0c7d8c10 | |
parent | 6f3e1d207963a6f07fd087dcc594665947d9641c (diff) | |
download | pysnmp-598f5d151b84a4b07d26fed5fe66b42466fc5d9b.tar.gz |
missing constraint fixed at RowStatus
-rw-r--r-- | pysnmp/smi/mibs/SNMPv2-TC.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/smi/mibs/SNMPv2-TC.py b/pysnmp/smi/mibs/SNMPv2-TC.py index c0e25af..2edb09b 100644 --- a/pysnmp/smi/mibs/SNMPv2-TC.py +++ b/pysnmp/smi/mibs/SNMPv2-TC.py @@ -188,7 +188,7 @@ class RowStatus(TextualConvention, Integer): """A special kind of scalar MIB variable responsible for MIB table row creation/destruction. """ - subtypeSpec = Integer.subtypeSpec+constraint.SingleValueConstraint(1, 2, 3, 4, 5, 6) + subtypeSpec = Integer.subtypeSpec+constraint.SingleValueConstraint(0, 1, 2, 3, 4, 5, 6) namedValues = namedval.NamedValues( ('notExists', 0), ('active', 1), ('notInService', 2), ('notReady', 3), ('createAndGo', 4), ('createAndWait', 5), ('destroy', 6) |