Skip to content

Commit

Permalink
[IPV6] XFRM: Use ip6addr_any where applicable.
Browse files Browse the repository at this point in the history
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
  • Loading branch information
YOSHIFUJI Hideaki authored and David S. Miller committed Apr 26, 2007
1 parent df8981d commit c53b359
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions net/ipv6/xfrm6_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,12 @@ int xfrm6_input_addr(struct sk_buff *skb, xfrm_address_t *daddr,
{
struct xfrm_state *x = NULL;
int wildcard = 0;
struct in6_addr any;
xfrm_address_t *xany;
struct xfrm_state *xfrm_vec_one = NULL;
int nh = 0;
int i = 0;

ipv6_addr_set(&any, 0, 0, 0, 0);
xany = (xfrm_address_t *)&any;
xany = (xfrm_address_t *)&in6addr_any;

for (i = 0; i < 3; i++) {
xfrm_address_t *dst, *src;
Expand Down

0 comments on commit c53b359

Please sign in to comment.