Re: [PATCH v8] MEDIUM: Add port_to_str helper

2014-06-17 Thread Christophe Rahier
Hi Lukas, On 16/06/14 14:22, Lukas Tribus wrote: Hi, Maybe a stupid question but if I download version 1.5-dev26, all the latest patches are present in this version or should I apply too? No, dev26 was released May, 28th and doesn't contain any newer code. To get more current code I sugges

RE: [PATCH v8] MEDIUM: Add port_to_str helper

2014-06-16 Thread Lukas Tribus
Hi! > Hi,  >  > Maybe a stupid question but if I download version 1.5-dev26, all the  > latest patches are present in this version or should I apply too?  No, dev26 was released May, 28th and doesn't contain any newer code. To get more current code I suggest to use git, you just need 2 commands

Re: [PATCH v8] MEDIUM: Add port_to_str helper

2014-06-16 Thread Christophe Rahier
Hi, Maybe a stupid question but if I download version 1.5-dev26, all the latest patches are present in this version or should I apply too? Thanks for your help. Kind regards, Christophe On 16/06/14 10:11, Willy Tarreau wrote: On Mon, Jun 16, 2014 at 09:39:41AM +0900, Simon Horman wrote: T

Re: [PATCH v8] MEDIUM: Add port_to_str helper

2014-06-16 Thread Simon Horman
On Mon, Jun 16, 2014 at 10:11:10AM +0200, Willy Tarreau wrote: > On Mon, Jun 16, 2014 at 09:39:41AM +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 v8] MEDIUM: Add port_to_str helper

2014-06-16 Thread Willy Tarreau
On Mon, Jun 16, 2014 at 09:39:41AM +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. > > Signed-off-by: Simon Horman Than

[PATCH v8] MEDIUM: Add port_to_str helper

2014-06-15 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 -- v8 * Correct endian problem by calling ntohs(port) v7 * First post --- includ