Browse Source

xfrm: Const'ify address argument to xfrm_addr_any()

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 14 years ago
parent
commit
6cc329610f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/net/xfrm.h

+ 1 - 1
include/net/xfrm.h

@@ -954,7 +954,7 @@ secpath_reset(struct sk_buff *skb)
 }
 }
 
 
 static inline int
 static inline int
-xfrm_addr_any(xfrm_address_t *addr, unsigned short family)
+xfrm_addr_any(const xfrm_address_t *addr, unsigned short family)
 {
 {
 	switch (family) {
 	switch (family) {
 	case AF_INET:
 	case AF_INET: