Skip to content

Commit

Permalink
Merge pull request Exa-Networks#1009 from opensourcerouting/traffic-p…
Browse files Browse the repository at this point in the history
…ton-master

update/traffic: fix IPv6 translation
  • Loading branch information
thomas-mangin authored Dec 3, 2020
2 parents 112e8ec + 76f5f7e commit 84443e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def __init__(self, ip, asn, community=None):
self,
community
if community is not None
else pack("!BB16sH", 0x00, 0x02, socket.inet_aton(socket.AF_INET6, ip), asn),
else pack("!BB16sH", 0x00, 0x02, socket.inet_pton(socket.AF_INET6, ip), asn),
)

def __str__(self):
Expand Down

0 comments on commit 84443e2

Please sign in to comment.