diff options
author | elie <elie> | 2015-05-31 19:09:45 +0000 |
---|---|---|
committer | elie <elie> | 2015-05-31 19:09:45 +0000 |
commit | c76c7c3dfb6b4f82a17db3a2c9c959a37f38d034 (patch) | |
tree | b462638bc5bb4abd51e033430c26492ed07c3664 /pysnmp | |
parent | ef82e705d9c72ac62a62d0875680814763235643 (diff) | |
download | pysnmp-git-c76c7c3dfb6b4f82a17db3a2c9c959a37f38d034.tar.gz |
export ObjectIdentifier from pyasn1
Diffstat (limited to 'pysnmp')
-rw-r--r-- | pysnmp/proto/rfc1902.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pysnmp/proto/rfc1902.py b/pysnmp/proto/rfc1902.py index e1d02054..3c79418d 100644 --- a/pysnmp/proto/rfc1902.py +++ b/pysnmp/proto/rfc1902.py @@ -43,6 +43,8 @@ class OctetString(univ.OctetString): self, value, implicitTag, explicitTag, subtypeSpec ).setFixedLength(self.getFixedLength()) +ObjectIdentifier = univ.ObjectIdentifier + class IpAddress(OctetString): tagSet = OctetString.tagSet.tagImplicitly( tag.Tag(tag.tagClassApplication, tag.tagFormatSimple, 0x00) |