Revision b21f68b4 proto/ospf/config.Y

View differences:

proto/ospf/config.Y
32 32

  
33 33
CF_GRAMMAR
34 34

  
35
CF_ADDTO(proto, ospf_proto '}')
35
CF_ADDTO(proto, ospf_proto '}' { OSPF_PATT->passwords = get_passwords(); } )
36 36

  
37 37
ospf_proto_start: proto_start OSPF {
38 38
     this_proto = proto_config_new(&proto_ospf, sizeof(struct ospf_config));
......
102 102
 | AUTHENTICATION NONE { OSPF_PATT->autype = OSPF_AUTH_NONE ; }
103 103
 | AUTHENTICATION SIMPLE { OSPF_PATT->autype = OSPF_AUTH_SIMPLE ; }
104 104
 | AUTHENTICATION CRYPTOGRAPHIC { OSPF_PATT->autype = OSPF_AUTH_CRYPT ; }
105
 | password_list {OSPF_PATT->passwords = (list *) $1; }
105
 | password_list 
106 106
 ;
107 107

  
108 108
ospf_vlink_start: VIRTUAL LINK idval
......
146 146
 | RX BUFFER LARGE { OSPF_PATT->rxbuf = OSPF_RXBUF_LARGE ; } 
147 147
 | RX BUFFER NORMAL { OSPF_PATT->rxbuf = OSPF_RXBUF_NORMAL ; } 
148 148
 | RX BUFFER expr { OSPF_PATT->rxbuf = $3 ; if ($3 < OSPF_RXBUF_MINSIZE) cf_error("Buffer size is too small") ; } 
149
 | password_list {OSPF_PATT->passwords = (list *) $1; }
149
 | password_list
150 150
 ;
151 151

  
152 152
pref_list:

Also available in: Unified diff