Revision f4a60a9b proto/radv/config.Y

View differences:

proto/radv/config.Y
41 41
radv_proto_start: proto_start RADV
42 42
{
43 43
  this_proto = proto_config_new(&proto_radv, $1);
44

  
44 45
  init_list(&RADV_CFG->patt_list);
45 46
  init_list(&RADV_CFG->pref_list);
46 47
  init_list(&RADV_CFG->rdnss_list);
......
49 50

  
50 51
radv_proto_item:
51 52
   proto_item
53
 | proto_channel
52 54
 | INTERFACE radv_iface
53 55
 | PREFIX radv_prefix { add_tail(&RADV_CFG->pref_list, NODE this_radv_prefix); }
54 56
 | RDNSS { init_list(&radv_dns_list); } radv_rdnss { add_tail_list(&RADV_CFG->rdnss_list, &radv_dns_list); }
55 57
 | DNSSL { init_list(&radv_dns_list); } radv_dnssl { add_tail_list(&RADV_CFG->dnssl_list, &radv_dns_list); }
56
 | TRIGGER net_any {
57
     RADV_CFG->trigger = $2;
58
     RADV_CFG->trigger_valid = 1;
59
   }
58
 | TRIGGER net_ip6 { RADV_CFG->trigger = $2; }
60 59
 ;
61 60

  
62 61
radv_proto_opts:

Also available in: Unified diff