diff options
author | Julius Volz <juliusv@google.com> | 2008-09-02 09:55:48 -0400 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-09-04 21:17:10 -0400 |
commit | 7937df1564783806c285d34a1c6fd63d8da29d7a (patch) | |
tree | 090dbabafffef92aff1e04aa163435c3ce6db4c9 /net/ipv4/ipvs/ip_vs_sync.c | |
parent | 2a3b791e6e1169f374224d164738e9f7be703d77 (diff) |
IPVS: Convert real server lookup functions
Convert functions for looking up destinations (real servers) to support
IPv6 services/dests.
Signed-off-by: Julius Volz <juliusv@google.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/ipv4/ipvs/ip_vs_sync.c')
-rw-r--r-- | net/ipv4/ipvs/ip_vs_sync.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/ipv4/ipvs/ip_vs_sync.c b/net/ipv4/ipvs/ip_vs_sync.c index 3ce1093e0670..40647edf1024 100644 --- a/net/ipv4/ipvs/ip_vs_sync.c +++ b/net/ipv4/ipvs/ip_vs_sync.c | |||
@@ -383,8 +383,11 @@ static void ip_vs_process_message(const char *buffer, const size_t buflen) | |||
383 | * If it is not found the connection will remain unbound | 383 | * If it is not found the connection will remain unbound |
384 | * but still handled. | 384 | * but still handled. |
385 | */ | 385 | */ |
386 | dest = ip_vs_find_dest(s->daddr, s->dport, | 386 | dest = ip_vs_find_dest(AF_INET, |
387 | s->vaddr, s->vport, | 387 | (union nf_inet_addr *)&s->daddr, |
388 | s->dport, | ||
389 | (union nf_inet_addr *)&s->vaddr, | ||
390 | s->vport, | ||
388 | s->protocol); | 391 | s->protocol); |
389 | /* Set the approprite ativity flag */ | 392 | /* Set the approprite ativity flag */ |
390 | if (s->protocol == IPPROTO_TCP) { | 393 | if (s->protocol == IPPROTO_TCP) { |