Revision bce8a34b proto/rip/config.Y

View differences:

proto/rip/config.Y
24 24

  
25 25
CF_KEYWORDS(RIP, INFINITY, METRIC, PORT, PERIOD, GARBAGETIME, PASSWORDS,
26 26
	    MODE, BROADCAST, QUIET, NOLISTEN, VERSION1, 
27
	    AUTHENTICATION, NONE, PLAINTEXT, MD5)
27
	    AUTHENTICATION, NONE, PLAINTEXT, MD5,
28
	    HONOUR, NEVER, NEIGHBOUR, ALWAYS)
28 29

  
29 30
%type <i> rip_mode rip_auth
30 31

  
......
47 48
 | RIP_CFG GARBAGETIME expr ';' { RIP_CFG->garbage_time = $3; }
48 49
 | RIP_CFG AUTHENTICATION rip_auth ';' {RIP_CFG->authtype = $3; }
49 50
 | RIP_CFG PASSWORDS '{' password_list '}' {RIP_CFG->passwords = $4; }
51
 | RIP_CFG HONOUR ALWAYS ';'    { RIP_CFG->honour = HO_ALWAYS; }
52
 | RIP_CFG HONOUR NEIGHBOUR ';'    { RIP_CFG->honour = HO_NEIGHBOUR; }
53
 | RIP_CFG HONOUR NEVER ';'    { RIP_CFG->honour = HO_NEVER; }
50 54
 | RIP_CFG rip_iface_list ';'
51 55
 ;
52 56

  

Also available in: Unified diff