Skip to content

Commit

Permalink
updated show ipv6 interface for alias mode (sonic-net#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsvanduyn authored and jleveque committed Apr 2, 2019
1 parent 170fed9 commit aae39e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions show/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -998,6 +998,8 @@ def interfaces():
oper = get_if_oper_state(iface)
else:
oper = "down"
if get_interface_mode() == "alias":
iface = iface_alias_converter.name_to_alias(iface)
data.append([iface, ifaddresses[0][1], admin + "/" + oper])
for ifaddr in ifaddresses[1:]:
data.append(["", ifaddr[1], ""])
Expand Down

0 comments on commit aae39e7

Please sign in to comment.