[Swan-dev] formatting endpoints

Paul Wouters paul at nohats.ca
Thu Jan 3 15:12:26 UTC 2019


On Thu, 3 Jan 2019, Andrew Cagney wrote:

> 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:

We should have the protoport information in the ACQUIRE and we should
print it including ports. Not printing ports is because in the old days,
we did not support protoports in on-demand/OE tunneling.

Paul


More information about the Swan-dev mailing list