[Swan-dev] formatting endpoints

Andrew Cagney andrew.cagney at gmail.com
Thu Jan 3 16:07:47 UTC 2019


On Thu, 3 Jan 2019 at 10:12, Paul Wouters <paul at nohats.ca> wrote:
>
> 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.

So the above is simply a bug - :to's port should have been non-zero.



> Paul


More information about the Swan-dev mailing list