[NET]: Accept wildcard delimiters in in[46]_pton
authorPatrick McHardy <kaber@trash.net>
Sun, 3 Dec 2006 06:04:04 +0000 (22:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Dec 2006 06:04:04 +0000 (22:04 -0800)
Accept -1 as delimiter to abort parsing without an error at the first
unknown character. This is needed by the upcoming nf_conntrack SIP
helper, where addresses are delimited by either '\r' or '\n' characters.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found