diff options
Diffstat (limited to 'include/linux/mroute6.h')
-rw-r--r-- | include/linux/mroute6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mroute6.h b/include/linux/mroute6.h index a223561ba12e..66982e764051 100644 --- a/include/linux/mroute6.h +++ b/include/linux/mroute6.h | |||
@@ -10,7 +10,7 @@ | |||
10 | #ifdef CONFIG_IPV6_MROUTE | 10 | #ifdef CONFIG_IPV6_MROUTE |
11 | static inline int ip6_mroute_opt(int opt) | 11 | static inline int ip6_mroute_opt(int opt) |
12 | { | 12 | { |
13 | return (opt >= MRT6_BASE) && (opt <= MRT6_BASE + 10); | 13 | return (opt >= MRT6_BASE) && (opt <= MRT6_MAX); |
14 | } | 14 | } |
15 | #else | 15 | #else |
16 | static inline int ip6_mroute_opt(int opt) | 16 | static inline int ip6_mroute_opt(int opt) |