diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-04-24 07:44:50 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:29:58 -0400 |
commit | c53b3590bb294a42121b640e8309379752482b38 (patch) | |
tree | 86d31d94182f9eb803608e2e7a76bc5b952a34cd | |
parent | df8981dc1928f3a231d91f27c2b3dc373fb4d410 (diff) |
[IPV6] XFRM: Use ip6addr_any where applicable.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
-rw-r--r-- | net/ipv6/xfrm6_input.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv6/xfrm6_input.c b/net/ipv6/xfrm6_input.c index f30ef16072f6..d7ed8aa56ec1 100644 --- a/net/ipv6/xfrm6_input.c +++ b/net/ipv6/xfrm6_input.c | |||
@@ -147,14 +147,12 @@ int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr, | |||
147 | { | 147 | { |
148 | struct xfrm_state *x = NULL; | 148 | struct xfrm_state *x = NULL; |
149 | int wildcard = 0; | 149 | int wildcard = 0; |
150 | struct in6_addr any; | ||
151 | xfrm_address_t *xany; | 150 | xfrm_address_t *xany; |
152 | struct xfrm_state *xfrm_vec_one = NULL; | 151 | struct xfrm_state *xfrm_vec_one = NULL; |
153 | int nh = 0; | 152 | int nh = 0; |
154 | int i = 0; | 153 | int i = 0; |
155 | 154 | ||
156 | ipv6_addr_set(&any, 0, 0, 0, 0); | 155 | xany = (xfrm_address_t *)&in6addr_any; |
157 | xany = (xfrm_address_t *)&any; | ||
158 | 156 | ||
159 | for (i = 0; i < 3; i++) { | 157 | for (i = 0; i < 3; i++) { |
160 | xfrm_address_t *dst, *src; | 158 | xfrm_address_t *dst, *src; |