Re: [PATCH] parse ip:port strings correctly in in4_pton

2007-04-17 Thread Jerome Borsboom
Jerome Borsboom wrote: in4_pton converts a textual representation of an ip4 address into an integer representation. However, when the textual representation is of in the form ip:port, c.f. 192.168.1.1:5060, and 'delim' is set to -1, the function bails out when parsing the colon

[PATCH] parse ip:port strings correctly in in4_pton

2007-04-16 Thread Jerome Borsboom
which fails as stated above. Signed-off-by: Jerome Borsboom [EMAIL PROTECTED] --- linux-2.6.20/net/core/utils.c 2007-02-04 19:44:54.0 +0100 +++ linux-2.6.20/net/core/utils.c 2007-04-15 21:08:55.0 +0200 @@ -137,16 +137,16 @@ while(1) { int c