summaryrefslogtreecommitdiff
path: root/sysdep/linux/netlink/netlink.Y
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-08-21 09:43:31 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-08-21 09:43:31 +0200
commit86975e584eeabbc4f3111f2d100f05ca00579d31 (patch)
tree0341da4dda9efea65440fef5cb8ba5668be3e240 /sysdep/linux/netlink/netlink.Y
parentfee78355b480294f28c3c6814953297dca92d4a0 (diff)
Allow more kernel routing tables in IPv6.
Diffstat (limited to 'sysdep/linux/netlink/netlink.Y')
-rw-r--r--sysdep/linux/netlink/netlink.Y5
1 files changed, 0 insertions, 5 deletions
diff --git a/sysdep/linux/netlink/netlink.Y b/sysdep/linux/netlink/netlink.Y
index c448d895..c5dcf620 100644
--- a/sysdep/linux/netlink/netlink.Y
+++ b/sysdep/linux/netlink/netlink.Y
@@ -18,13 +18,8 @@ CF_ADDTO(kern_proto, kern_proto nl_item ';')
nl_item:
KERNEL TABLE expr {
-#ifndef IPV6
if ($3 <= 0 || $3 >= NL_NUM_TABLES)
cf_error("Kernel routing table number out of range");
-#else
- if ($3 != 254)
- cf_error("Linux implementation of IPv6 doesn't support multiple routing tables");
-#endif
THIS_KRT->scan.table_id = $3;
}
;