diff options
author | Julian Anastasov <ja@ssi.bg> | 2014-09-17 00:09:00 +0300 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2014-09-18 08:59:23 +0900 |
commit | 4d316f3f9ae3d5fad8d3198eec0a4ef2511471d7 (patch) | |
tree | b48f8aabd414ca9e5a9032098422afe17a1b9083 /net/netfilter/ipvs/ip_vs_lc.c | |
parent | cf34e646dad101170e00712fe51986cbcdad3044 (diff) | |
download | op-kernel-dev-4d316f3f9ae3d5fad8d3198eec0a4ef2511471d7.zip op-kernel-dev-4d316f3f9ae3d5fad8d3198eec0a4ef2511471d7.tar.gz |
ipvs: use correct address family in scheduler logs
Needed to support svc->af != dest->af.
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Alex Gartrell <agartrell@fb.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_lc.c')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_lc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_lc.c b/net/netfilter/ipvs/ip_vs_lc.c index 2bdcb1c..19a0769 100644 --- a/net/netfilter/ipvs/ip_vs_lc.c +++ b/net/netfilter/ipvs/ip_vs_lc.c @@ -59,7 +59,7 @@ ip_vs_lc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, else IP_VS_DBG_BUF(6, "LC: server %s:%u activeconns %d " "inactconns %d\n", - IP_VS_DBG_ADDR(svc->af, &least->addr), + IP_VS_DBG_ADDR(least->af, &least->addr), ntohs(least->port), atomic_read(&least->activeconns), atomic_read(&least->inactconns)); |