aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipvs
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2008-09-05 07:46:00 -0400
committerSimon Horman <horms@verge.net.au>2008-09-07 19:34:43 -0400
commitcd9fe6c4f0afe334862c871bf5d32770daa748ec (patch)
tree36570755cacab6eecad5b0130e2541251ca1b148 /net/ipv4/ipvs
parentf2428ed5e7bc89c7716ead22748cb5d076e204f0 (diff)
ipvs: Use pointer to address from sync message
We want a pointer to it, not the value casted to a pointer. Signed-off-by: Sven Wegener <sven.wegener@stealer.net> Acked-by: Julius Volz <juliusv@google.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/ipv4/ipvs')
-rw-r--r--net/ipv4/ipvs/ip_vs_sync.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/ipvs/ip_vs_sync.c b/net/ipv4/ipvs/ip_vs_sync.c
index 40647edf102..28237a5f62e 100644
--- a/net/ipv4/ipvs/ip_vs_sync.c
+++ b/net/ipv4/ipvs/ip_vs_sync.c
@@ -397,11 +397,11 @@ static void ip_vs_process_message(const char *buffer, const size_t buflen)
397 flags &= ~IP_VS_CONN_F_INACTIVE; 397 flags &= ~IP_VS_CONN_F_INACTIVE;
398 } 398 }
399 cp = ip_vs_conn_new(AF_INET, s->protocol, 399 cp = ip_vs_conn_new(AF_INET, s->protocol,
400 (union nf_inet_addr *)s->caddr, 400 (union nf_inet_addr *)&s->caddr,
401 s->cport, 401 s->cport,
402 (union nf_inet_addr *)s->vaddr, 402 (union nf_inet_addr *)&s->vaddr,
403 s->vport, 403 s->vport,
404 (union nf_inet_addr *)s->daddr, 404 (union nf_inet_addr *)&s->daddr,
405 s->dport, 405 s->dport,
406 flags, dest); 406 flags, dest);
407 if (dest) 407 if (dest)