"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configparser.y" between
nsd-4.3.5.tar.gz and nsd-4.3.6.tar.gz

About: NSD is an authoritative only, high performance, simple name server daemon.

configparser.y  (nsd-4.3.5):configparser.y  (nsd-4.3.6)
skipping to change at line 23 skipping to change at line 23
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "options.h" #include "options.h"
#include "util.h" #include "util.h"
#include "dname.h" #include "dname.h"
#include "tsig.h" #include "tsig.h"
#include "rrl.h" #include "rrl.h"
#include "configyyrename.h"
int yylex(void); int yylex(void);
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
#endif #endif
/* these need to be global, otherwise they cannot be used inside yacc */ /* these need to be global, otherwise they cannot be used inside yacc */
extern config_parser_state_type *cfg_parser; extern config_parser_state_type *cfg_parser;
skipping to change at line 154 skipping to change at line 153
%token VAR_KEY %token VAR_KEY
%token VAR_ALGORITHM %token VAR_ALGORITHM
%token VAR_SECRET %token VAR_SECRET
/* pattern */ /* pattern */
%token VAR_PATTERN %token VAR_PATTERN
%token VAR_NAME %token VAR_NAME
%token VAR_ZONEFILE %token VAR_ZONEFILE
%token VAR_NOTIFY %token VAR_NOTIFY
%token VAR_PROVIDE_XFR %token VAR_PROVIDE_XFR
%token VAR_ALLOW_QUERY
%token VAR_AXFR %token VAR_AXFR
%token VAR_UDP %token VAR_UDP
%token VAR_NOTIFY_RETRY %token VAR_NOTIFY_RETRY
%token VAR_ALLOW_NOTIFY %token VAR_ALLOW_NOTIFY
%token VAR_REQUEST_XFR %token VAR_REQUEST_XFR
%token VAR_ALLOW_AXFR_FALLBACK %token VAR_ALLOW_AXFR_FALLBACK
%token VAR_OUTGOING_INTERFACE %token VAR_OUTGOING_INTERFACE
%token VAR_MAX_REFRESH_TIME %token VAR_MAX_REFRESH_TIME
%token VAR_MIN_REFRESH_TIME %token VAR_MIN_REFRESH_TIME
%token VAR_MAX_RETRY_TIME %token VAR_MAX_RETRY_TIME
skipping to change at line 827 skipping to change at line 827
yyerror("blocked address used for notify"); yyerror("blocked address used for notify");
if(acl->rangetype != acl_range_single) if(acl->rangetype != acl_range_single)
yyerror("address range used for notify"); yyerror("address range used for notify");
append_acl(&cfg_parser->pattern->notify, acl); append_acl(&cfg_parser->pattern->notify, acl);
} }
| VAR_PROVIDE_XFR STRING STRING | VAR_PROVIDE_XFR STRING STRING
{ {
acl_options_type *acl = parse_acl_info(cfg_parser->opt->region, $2, $3); acl_options_type *acl = parse_acl_info(cfg_parser->opt->region, $2, $3);
append_acl(&cfg_parser->pattern->provide_xfr, acl); append_acl(&cfg_parser->pattern->provide_xfr, acl);
} }
| VAR_ALLOW_QUERY STRING STRING
{
acl_options_type *acl = parse_acl_info(cfg_parser->opt->region, $2, $3);
append_acl(&cfg_parser->pattern->allow_query, acl);
}
| VAR_OUTGOING_INTERFACE STRING | VAR_OUTGOING_INTERFACE STRING
{ {
acl_options_type *acl = parse_acl_info(cfg_parser->opt->region, $2, "NOKEY "); acl_options_type *acl = parse_acl_info(cfg_parser->opt->region, $2, "NOKEY ");
append_acl(&cfg_parser->pattern->outgoing_interface, acl); append_acl(&cfg_parser->pattern->outgoing_interface, acl);
} }
| VAR_ALLOW_AXFR_FALLBACK boolean | VAR_ALLOW_AXFR_FALLBACK boolean
{ {
cfg_parser->pattern->allow_axfr_fallback = $2; cfg_parser->pattern->allow_axfr_fallback = $2;
cfg_parser->pattern->allow_axfr_fallback_is_default = 0; cfg_parser->pattern->allow_axfr_fallback_is_default = 0;
} }
 End of changes. 3 change blocks. 
1 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)