diff options
Diffstat (limited to 'include/linux/mroute.h')
-rw-r--r-- | include/linux/mroute.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mroute.h b/include/linux/mroute.h index ea00d9162ee5..79aaa9fc1a15 100644 --- a/include/linux/mroute.h +++ b/include/linux/mroute.h | |||
@@ -9,7 +9,7 @@ | |||
9 | #ifdef CONFIG_IP_MROUTE | 9 | #ifdef CONFIG_IP_MROUTE |
10 | static inline int ip_mroute_opt(int opt) | 10 | static inline int ip_mroute_opt(int opt) |
11 | { | 11 | { |
12 | return (opt >= MRT_BASE) && (opt <= MRT_BASE + 10); | 12 | return (opt >= MRT_BASE) && (opt <= MRT_MAX); |
13 | } | 13 | } |
14 | #else | 14 | #else |
15 | static inline int ip_mroute_opt(int opt) | 15 | static inline int ip_mroute_opt(int opt) |