diff options
author | elie <elie> | 2015-05-31 19:09:45 +0000 |
---|---|---|
committer | elie <elie> | 2015-05-31 19:09:45 +0000 |
commit | a24058b2562e8abc91f1c61e83148e6d67ca975a (patch) | |
tree | 6ae05c90af49e25c2edc9aa1a8fa5b930ff1f034 | |
parent | c4943551c4a49241a2f6d878f148867212bfcbcd (diff) | |
download | pysnmp-a24058b2562e8abc91f1c61e83148e6d67ca975a.tar.gz |
export ObjectIdentifier from pyasn1
-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 e1d0205..3c79418 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) |