Revision b6c9d8eb sysdep/linux/netlink/netlink.Y

View differences:

sysdep/linux/netlink/netlink.Y
1 1
/*
2 2
 *	BIRD -- Linux Netlink Configuration
3 3
 *
4
 *	(c) 1999 Martin Mares <mj@ucw.cz>
4
 *	(c) 1999--2000 Martin Mares <mj@ucw.cz>
5 5
 *
6 6
 *	Can be freely distributed and used under the terms of the GNU GPL.
7 7
 */
......
17 17
CF_ADDTO(kern_proto, kern_proto nl_item ';')
18 18

  
19 19
nl_item:
20
   ASYNC bool { THIS_KRT->scan.async = $2; }
21
 | KERNEL TABLE expr {
20
   KERNEL TABLE expr {
22 21
	if ($3 <= 0 || $3 >= NL_NUM_TABLES)
23 22
	  cf_error("Kernel routing table number out of range");
24 23
	THIS_KRT->scan.table_id = $3;

Also available in: Unified diff