diff options
Diffstat (limited to 'backport/backport-include/net/ip6_fib.h')
-rw-r--r-- | backport/backport-include/net/ip6_fib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backport/backport-include/net/ip6_fib.h b/backport/backport-include/net/ip6_fib.h index ebdc94c7..2f21163d 100644 --- a/backport/backport-include/net/ip6_fib.h +++ b/backport/backport-include/net/ip6_fib.h @@ -9,7 +9,7 @@ * This function is avaliable with one argument since kernel 3.10, but the * secound one was added in 4.2. */ -#if LINUX_VERSION_CODE < KERNEL_VERSION(4,2,0) +#if LINUX_VERSION_IS_LESS(4,2,0) #define rt6_nexthop LINUX_BACKPORT(rt6_nexthop) static inline struct in6_addr *rt6_nexthop(struct rt6_info *rt, struct in6_addr *daddr) @@ -21,6 +21,6 @@ static inline struct in6_addr *rt6_nexthop(struct rt6_info *rt, else return daddr; } -#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(4,2,0) */ +#endif /* LINUX_VERSION_IS_LESS(4,2,0) */ #endif /* __BACKPORT_NET_IP6_ROUTE_H */ |