Skip to content

Commit 81745df

Browse files
authored
Update show_ospf.py
Fix for Issue CiscoTestAutomation#887
1 parent e56c85d commit 81745df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/genie/libs/parser/iosxe/show_ospf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5224,7 +5224,7 @@ def cli(self, output=None):
52245224
' +(?P<fragment>(\d+))\. +Link +instance +is'
52255225
' +(?P<link_instance>(\d+))$')
52265226

5227-
p6 = re.compile(r'^Link +connected +to +(?P<type>([a-zA-Z\s]+))$')
5227+
p6 = re.compile(r'^Link +connected +to +(?P<type>([a-zA-Z-\s]+))$')
52285228

52295229
p7 = re.compile(r'^Link +ID *: +(?P<link_id>(\S+))$')
52305230

@@ -9122,4 +9122,4 @@ def cli(self, process_id=None, route=None, output=None):
91229122
repair_dict['cost'] = int(cost)
91239123
continue
91249124

9125-
return ret_dict
9125+
return ret_dict

0 commit comments

Comments
 (0)