Diff for /embedaddon/bird/sysdep/unix/config.Y between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2017/08/22 12:33:54 version 1.1.1.2, 2021/03/17 19:50:23
Line 42  syslog_name: Line 42  syslog_name:
   
 log_file:  log_file:
    text {     text {
     FILE *f = tracked_fopen(new_config->pool, $1, "a");     struct rfile *f = rf_open(new_config->pool, $1, "a");
      if (!f) cf_error("Unable to open log file `%s': %m", $1);       if (!f) cf_error("Unable to open log file `%s': %m", $1);
     $$ = f;     $$ = rf_file(f);
    }     }
  | SYSLOG syslog_name { $$ = NULL; new_config->syslog_name = $2; }   | SYSLOG syslog_name { $$ = NULL; new_config->syslog_name = $2; }
  | STDERR { $$ = stderr; }   | STDERR { $$ = stderr; }
Line 78  CF_ADDTO(conf, mrtdump_base) Line 78  CF_ADDTO(conf, mrtdump_base)
 mrtdump_base:  mrtdump_base:
    MRTDUMP PROTOCOLS mrtdump_mask ';' { new_config->proto_default_mrtdump = $3; }     MRTDUMP PROTOCOLS mrtdump_mask ';' { new_config->proto_default_mrtdump = $3; }
  | MRTDUMP text ';' {   | MRTDUMP text ';' {
     FILE *f = tracked_fopen(new_config->pool, $2, "a");     struct rfile *f = rf_open(new_config->pool, $2, "a");
      if (!f) cf_error("Unable to open MRTDump file '%s': %m", $2);       if (!f) cf_error("Unable to open MRTDump file '%s': %m", $2);
     new_config->mrtdump_file = fileno(f);     new_config->mrtdump_file = rf_fileno(f);
    }     }
  ;   ;
   

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>