Re: [PATCH v7 1/3] MEDIUM: Add port_to_str helper

2014-06-15 Thread Simon Horman
On Mon, Jun 16, 2014 at 08:55:52AM +0900, Simon Horman wrote: > On Fri, Jun 13, 2014 at 06:39:18PM +0200, Willy Tarreau wrote: > > On Fri, Jun 13, 2014 at 04:18:15PM +0900, Simon Horman wrote: > > > This helper is similar to addr_to_str but > > > tries to convert the port rather than the address >

Re: [PATCH v7 1/3] MEDIUM: Add port_to_str helper

2014-06-15 Thread Simon Horman
On Fri, Jun 13, 2014 at 06:39:18PM +0200, Willy Tarreau wrote: > On Fri, Jun 13, 2014 at 04:18:15PM +0900, Simon Horman wrote: > > This helper is similar to addr_to_str but > > tries to convert the port rather than the address > > of a struct sockaddr_storage. > > > > This is in preparation for su

Re: [PATCH v7 1/3] MEDIUM: Add port_to_str helper

2014-06-13 Thread Willy Tarreau
On Fri, Jun 13, 2014 at 04:18:15PM +0900, Simon Horman wrote: > This helper is similar to addr_to_str but > tries to convert the port rather than the address > of a struct sockaddr_storage. > > This is in preparation for supporting > an external agent check. I may be wrong, but I'm seeing an endi

[PATCH v7 1/3] MEDIUM: Add port_to_str helper

2014-06-13 Thread Simon Horman
This helper is similar to addr_to_str but tries to convert the port rather than the address of a struct sockaddr_storage. This is in preparation for supporting an external agent check. Signed-off-by: Simon Horman -- v7 * First post --- include/common/standard.h | 8 src/standard.c