Skip to content

Commit cfb6187

Browse files
committed
next
1 parent 9a59b3f commit cfb6187

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

asyncsnmplib/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ async def walk(self, oid: TOid, is_table: bool,
114114
continue
115115
else:
116116
# we might have more, check if we are in a table
117-
if next_oid[prefixlen + 1] != 0:
117+
if not is_table and next_oid[prefixlen + 1] != 0:
118118
next_oid = (*oid, next_oid[prefixlen] + 1)
119119
continue
120120
break
@@ -159,7 +159,7 @@ async def walk(self, oid: TOid, is_table: bool,
159159
continue
160160
else:
161161
# we might have more, check if we are in a table
162-
if next_oid[prefixlen + 1] != 0:
162+
if not is_table and next_oid[prefixlen + 1] != 0:
163163
next_oid = (*oid, next_oid[prefixlen] + 1)
164164
continue
165165
break

asyncsnmplib/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.1'
1+
__version__ = '1.0.2'

0 commit comments

Comments
 (0)