Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: mdyer <[email protected]>
  • Loading branch information
mdyer committed Sep 10, 2024
1 parent e725559 commit 69f87cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napalm/nxos_ssh/nxos_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def parse_intf_section(interface):
else:
# More standard is up, next line admin state is lines
match = re.search(re_intf_name_state, interface)
intf_name = canonical_interface_name(match.group("intf_name"))
intf_name = match.group("intf_name")
intf_state = match.group("intf_state").strip()
is_up = True if intf_state == "up" else False

Expand Down

0 comments on commit 69f87cc

Please sign in to comment.