Statistics
| Branch: | Revision:

iof-bird-daemon / sysdep / unix / krt-iface.Y @ 10d807d0

History | View | Annotate | Download (490 Bytes)

1
/*
2
 *	BIRD -- UNIX Interface Syncer Configuration
3
 *
4
 *	(c) 1998 Martin Mares <mj@ucw.cz>
5
 *
6
 *	Can be freely distributed and used under the terms of the GNU GPL.
7
 */
8

    
9
CF_HDR
10

    
11
#include "lib/krt-scan.h"
12

    
13
CF_DECLS
14

    
15
CF_KEYWORDS(LEARN, ROUTE, SCAN, TIME)
16

    
17
CF_GRAMMAR
18

    
19
CF_ADDTO(kern_proto, kern_proto krt_if_item ';')
20

    
21
krt_if_item:
22
   SCAN TIME expr {
23
      /* Scan time of 0 means scan on startup only */
24
      ((struct krt_config *) this_proto)->ifopt.scan_time = $3;
25
   }
26
 ;
27

    
28
CF_CODE
29

    
30
CF_END