Skip to content

Commit

Permalink
[mibs] b'VLAN_TABLE:' -> 'VLAN_TABLE' (#181)
Browse files Browse the repository at this point in the history
- What I did
Fix a missed bytes to string conversion.

- How I did it
Remove "b"

- How to verify it
Add a L3 VLAN interface and query SNMP RFC1213 MIB.
  • Loading branch information
stepanblyschak authored Dec 10, 2020
1 parent e54036c commit 381ae47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sonic_ax_impl/mibs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def vlan_entry_table(if_name):
:param if_name: given interface to cast.
:return: VLAN_TABLE key.
"""
return b'VLAN_TABLE:' + if_name
return 'VLAN_TABLE:' + if_name


def lag_entry_table(lag_name):
Expand Down

0 comments on commit 381ae47

Please sign in to comment.