Revision 04632fd7 proto/ospf/config.Y

View differences:

proto/ospf/config.Y
220 220
   net_ip {
221 221
     this_stubnet = cfg_allocz(sizeof(struct ospf_stubnet_config));
222 222
     add_tail(&this_area->stubnet_list, NODE this_stubnet);
223
     this_stubnet->prefix = $1.n;
223
     this_stubnet->prefix = $1;
224 224
     this_stubnet->cost = COST_D;
225 225
   }
226 226
 ;
......
330 330
 {
331 331
   this_pref = cfg_allocz(sizeof(struct area_net_config));
332 332
   add_tail(this_nets, NODE this_pref);
333
   this_pref->prefix = $1.n;
333
   this_pref->prefix = $1;
334 334
 }
335 335
;
336 336

  

Also available in: Unified diff