projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mcast: define and use MRT[6]_MAX in ip[6]_mroute_opt()
[linux-2.6-microblaze.git]
/
include
/
linux
/
mroute.h
diff --git
a/include/linux/mroute.h
b/include/linux/mroute.h
index
ea00d91
..
79aaa9f
100644
(file)
--- a/
include/linux/mroute.h
+++ b/
include/linux/mroute.h
@@
-9,7
+9,7
@@
#ifdef CONFIG_IP_MROUTE
static inline int ip_mroute_opt(int opt)
{
- return (opt >= MRT_BASE) && (opt <= MRT_
BASE + 10
);
+ return (opt >= MRT_BASE) && (opt <= MRT_
MAX
);
}
#else
static inline int ip_mroute_opt(int opt)