summaryrefslogtreecommitdiff
path: root/sysdep/linux/netlink/netlink.Y
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-08-03 19:37:37 +0000
committerMartin Mares <mj@ucw.cz>1999-08-03 19:37:37 +0000
commit4532a89e31734a457d4debe56df713d66e31cdd6 (patch)
treeafdf738d416b2ac77df8d4e4a54e306e0553ddef /sysdep/linux/netlink/netlink.Y
parent4f22c9818554087d8f5ab51b8666a7a48d1f4329 (diff)
Taught Netlink how to behave in IPv6 world.
Diffstat (limited to 'sysdep/linux/netlink/netlink.Y')
-rw-r--r--sysdep/linux/netlink/netlink.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/linux/netlink/netlink.Y b/sysdep/linux/netlink/netlink.Y
index 1b9b1e48..36a447d1 100644
--- a/sysdep/linux/netlink/netlink.Y
+++ b/sysdep/linux/netlink/netlink.Y
@@ -19,7 +19,7 @@ CF_ADDTO(kern_proto, kern_proto nl_item ';')
nl_item:
ASYNC bool { THIS_KRT->scan.async = $2; }
| KERNEL TABLE expr {
- if ($3 <= 0 || $3 >= 255)
+ if ($3 <= 0 || $3 >= NL_NUM_TABLES)
cf_error("Kernel routing table number out of range");
THIS_KRT->scan.table_id = $3;
}