From 81745df63ef48b86b52a6f9fb50911e875fdc20e Mon Sep 17 00:00:00 2001 From: Zachary Puls Date: Mon, 16 Sep 2024 10:45:30 -0500 Subject: [PATCH] Update show_ospf.py Fix for Issue #887 --- src/genie/libs/parser/iosxe/show_ospf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/genie/libs/parser/iosxe/show_ospf.py b/src/genie/libs/parser/iosxe/show_ospf.py index d0b1180f2..3143d4130 100755 --- a/src/genie/libs/parser/iosxe/show_ospf.py +++ b/src/genie/libs/parser/iosxe/show_ospf.py @@ -5224,7 +5224,7 @@ def cli(self, output=None): ' +(?P(\d+))\. +Link +instance +is' ' +(?P(\d+))$') - p6 = re.compile(r'^Link +connected +to +(?P([a-zA-Z\s]+))$') + p6 = re.compile(r'^Link +connected +to +(?P([a-zA-Z-\s]+))$') p7 = re.compile(r'^Link +ID *: +(?P(\S+))$') @@ -9122,4 +9122,4 @@ def cli(self, process_id=None, route=None, output=None): repair_dict['cost'] = int(cost) continue - return ret_dict \ No newline at end of file + return ret_dict