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_wlc.c | |
parent | cf34e646dad101170e00712fe51986cbcdad3044 (diff) |
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_wlc.c')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_wlc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_wlc.c b/net/netfilter/ipvs/ip_vs_wlc.c index b5b4650d50a9..6b366fd90554 100644 --- a/net/netfilter/ipvs/ip_vs_wlc.c +++ b/net/netfilter/ipvs/ip_vs_wlc.c @@ -80,7 +80,8 @@ ip_vs_wlc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, IP_VS_DBG_BUF(6, "WLC: server %s:%u " "activeconns %d refcnt %d weight %d overhead %d\n", - IP_VS_DBG_ADDR(svc->af, &least->addr), ntohs(least->port), + IP_VS_DBG_ADDR(least->af, &least->addr), + ntohs(least->port), atomic_read(&least->activeconns), atomic_read(&least->refcnt), atomic_read(&least->weight), loh); |