mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Fix some minor issues
This commit is contained in:
@@ -20,8 +20,8 @@ kern_sys_item:
|
||||
KERNEL TABLE expr {
|
||||
if ($3 && (krt_max_tables == 1))
|
||||
cf_error("Multiple kernel routing tables not supported");
|
||||
if ($3 < 0 || $3 >= krt_max_tables)
|
||||
cf_error("Kernel table id must be in range 0-%d", krt_max_tables - 1);
|
||||
if ($3 >= krt_max_tables)
|
||||
cf_error("Kernel table id must be in range 0-%u", krt_max_tables - 1);
|
||||
|
||||
THIS_KRT->sys.table_id = $3;
|
||||
}
|
||||
|
Reference in New Issue
Block a user