We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 908cae8 commit 4d19332Copy full SHA for 4d19332
lib/exabgp/configuration/flow/parser.py
@@ -298,6 +298,9 @@ def redirect(tokeniser):
298
raise ValueError('route target is a 32 bits number, value too large %s' % route_target)
299
return NoNextHop, ExtendedCommunities().add(TrafficRedirect(asn, route_target))
300
else:
301
+ if count == 2:
302
+ return IP.create(data), ExtendedCommunities().add(TrafficNextHopSimpson(False))
303
+
304
elements = data.split(':')
305
ip = ':'.join(elements[:-1])
306
asn = int(elements[-1])
0 commit comments