Currently endpoints are formatted as:
ADDRESS:PORT
vis:
1::1:500
1.0.0.1:500
but for IPv6 the correct format is
[ADDRESS]:PORT
vis:
[1::1]:500
While fixing this is straight forward - a function to format the pair
- there is an edge case (isn't there always). Consider this log line:
initiate on demand from 1::1:8 to 2::2:0 proto=1 because: acquire
since PORT is zero, which presumably means all ports, should it be formatted as:
initiate on demand from [1::1]:8 to 2::2 proto=1 because: acquire
Andrew
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev