Hi,

On Thu, Mar 03, 2016 at 05:13:01PM +0100, Jan Just Keijser wrote:
> and a few others. However, the actual name of these env vars is local_N, 
> local_port_N  etc. I've checked the code and that has been the case 
> since v2.1
> 
> Two questions:
> - why are we adding the number? per connection there will be only one 
> local IP and only one local port

If it was there at v2.1 - "you tell us, you're the only one that has been
around back then" :-)

(Most likely it's just using the same function for "stick a number to it
and build an environment string containing an IP address" that is used
for route_1, route_2, ...)

> - should we update the man page to reflect this?

Actually, I'd go for "update the manpage, and keep the number" - Heiko
is working on multi-listen, so we could end up with multiple local
IPs and ports one day, and then it makes sense to have them numbered
local_1, local_2, etc.

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: signature.asc
Description: PGP signature

Reply via email to