Skip to content

Commit

Permalink
Fix typos in factory example
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenning committed Oct 27, 2023
1 parent 21f3dd7 commit 7bc6374
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ for ccp_obj in parse.find_objects('^interface'):
##########################################################################
intf_dict = ccp_obj.re_match_iter_typed(
r"ip\s+address\s+(?P<v4addr>\S.+)$",
groupdict={"addr": IPv4Obj},
groupdict={"v4addr": IPv4Obj},
default=None
)
intf_ipv4obj = intf_dict["v4addr"]
Expand All @@ -196,7 +196,7 @@ for ccp_obj in parse.find_objects('^interface'):
##########################################################################
intf_dict = ccp_obj.re_match_iter_typed(
r"ipv6\s+address\s+(?P<v6addr>\S.+)\s+(eui.64)$",
groupdict={"addr": IPv6Obj},
groupdict={"v6addr": IPv6Obj},
default=None
)
intf_ipv6obj = intf_dict["v6addr"]
Expand Down

0 comments on commit 7bc6374

Please sign in to comment.