]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95ff68d65aa6d7429bac76c70c3e6d853077fb8a
tree7f463b00f42c4acebb23268cf455f1c4517d64b9
parent8fa95cec03d4eda0db328fc5a75f1fc0af75659a
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