Skip to content

Commit

Permalink
updated show ipv6 interface for alias mode (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsvanduyn authored and yxieca committed May 30, 2019
1 parent 5064a29 commit 4408316
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 @@ -959,6 +959,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 4408316

Please sign in to comment.