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_dh.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_dh.c')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_dh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_dh.c b/net/netfilter/ipvs/ip_vs_dh.c index c3b8454..6be5c53 100644 --- a/net/netfilter/ipvs/ip_vs_dh.c +++ b/net/netfilter/ipvs/ip_vs_dh.c @@ -234,7 +234,7 @@ ip_vs_dh_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, IP_VS_DBG_BUF(6, "DH: destination IP address %s --> server %s:%d\n", IP_VS_DBG_ADDR(svc->af, &iph->daddr), - IP_VS_DBG_ADDR(svc->af, &dest->addr), + IP_VS_DBG_ADDR(dest->af, &dest->addr), ntohs(dest->port)); return dest; |