diff options
author | Julian Anastasov <ja@ssi.bg> | 2014-09-09 16:40:38 -0700 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2014-09-18 08:59:28 +0900 |
commit | f18ae7206eaebfecc2dd8b017b0d6a0950eabf8b (patch) | |
tree | 5e44aecb953b1721d10d0991c85720857f2e9435 /net/netfilter/ipvs/ip_vs_proto_tcp.c | |
parent | 4d316f3f9ae3d5fad8d3198eec0a4ef2511471d7 (diff) | |
download | op-kernel-dev-f18ae7206eaebfecc2dd8b017b0d6a0950eabf8b.zip op-kernel-dev-f18ae7206eaebfecc2dd8b017b0d6a0950eabf8b.tar.gz |
ipvs: use the new dest addr family field
Use the new address family field cp->daf when printing
cp->daddr in logs or connection listing.
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_proto_tcp.c')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_proto_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_proto_tcp.c b/net/netfilter/ipvs/ip_vs_proto_tcp.c index e3a6972..8e92beb 100644 --- a/net/netfilter/ipvs/ip_vs_proto_tcp.c +++ b/net/netfilter/ipvs/ip_vs_proto_tcp.c @@ -510,7 +510,7 @@ set_tcp_state(struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, th->fin ? 'F' : '.', th->ack ? 'A' : '.', th->rst ? 'R' : '.', - IP_VS_DBG_ADDR(cp->af, &cp->daddr), + IP_VS_DBG_ADDR(cp->daf, &cp->daddr), ntohs(cp->dport), IP_VS_DBG_ADDR(cp->af, &cp->caddr), ntohs(cp->cport), |