1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Removed the `async' switch which was used for debugging only anyway.

Don't moan when netlink reports lost packets.
This commit is contained in:
Martin Mares
2000-05-08 12:05:55 +00:00
parent d0126f0bf0
commit b6c9d8eb2e
3 changed files with 20 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
/*
* BIRD -- Linux Netlink Configuration
*
* (c) 1999 Martin Mares <mj@ucw.cz>
* (c) 1999--2000 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
@@ -17,8 +17,7 @@ CF_GRAMMAR
CF_ADDTO(kern_proto, kern_proto nl_item ';')
nl_item:
ASYNC bool { THIS_KRT->scan.async = $2; }
| KERNEL TABLE expr {
KERNEL TABLE expr {
if ($3 <= 0 || $3 >= NL_NUM_TABLES)
cf_error("Kernel routing table number out of range");
THIS_KRT->scan.table_id = $3;