Skip to content

Commit

Permalink
fix a typo with the previous patch
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mangin committed Jun 9, 2024
1 parent fe1bebf commit 74c6353
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/exabgp/configuration/static/mpls.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ def srv6_mup_t2st(tokeniser, afi):
else:
raise Exception("unexpect afi: %s" % afi)

if "rd" != tokeniser():
value = tokeniser()
if "rd" != value:
raise Exception("expect rd, but received '%s'" % value)

rd = route_distinguisher(tokeniser)
Expand Down

0 comments on commit 74c6353

Please sign in to comment.