ipvs: use standardized format in sprintf
authorJoe Perches <joe@perches.com>
Mon, 11 Jan 2010 10:53:31 +0000 (11:53 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 11 Jan 2010 10:53:31 +0000 (11:53 +0100)
commita79e7ac4ad77e1833e8f69e99113204d03018255
tree7f463b00f42c4acebb23268cf455f1c4517d64b9
parentc299bd53aa2616e6afc304b4f848186af3b3a881
ipvs: use standardized format in sprintf

Use the same format string as net/ipv4/netfilter/nf_nat_ftp.c
to encode an ipv4 address and port.

Both uses should be a single common function.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/ipvs/ip_vs_ftp.c