diff options
Diffstat (limited to 'sysdep/linux/netlink/netlink.Y')
-rw-r--r-- | sysdep/linux/netlink/netlink.Y | 2 |
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; } |