"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "nsd-checkconf.c" 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.

nsd-checkconf.c  (nsd-4.3.5):nsd-checkconf.c  (nsd-4.3.6)
skipping to change at line 308 skipping to change at line 308
printf("Zone does not exist: %s\n", z); printf("Zone does not exist: %s\n", z);
exit(1); exit(1);
} }
ZONE_GET_STR(name, o, zone); ZONE_GET_STR(name, o, zone);
if(strcasecmp("pattern", o)==0) { if(strcasecmp("pattern", o)==0) {
quote(zone->pattern->pname); quote(zone->pattern->pname);
return; return;
} }
ZONE_GET_BIN(part_of_config, o, zone); ZONE_GET_BIN(part_of_config, o, zone);
ZONE_GET_PATH(final, zonefile, o, zone->pattern); ZONE_GET_PATH(final, zonefile, o, zone->pattern);
ZONE_GET_ACL(allow_query, o, zone->pattern);
ZONE_GET_ACL(request_xfr, o, zone->pattern); ZONE_GET_ACL(request_xfr, o, zone->pattern);
ZONE_GET_ACL(provide_xfr, o, zone->pattern); ZONE_GET_ACL(provide_xfr, o, zone->pattern);
ZONE_GET_ACL(allow_notify, o, zone->pattern); ZONE_GET_ACL(allow_notify, o, zone->pattern);
ZONE_GET_ACL(notify, o, zone->pattern); ZONE_GET_ACL(notify, o, zone->pattern);
ZONE_GET_BIN(notify_retry, o, zone->pattern); ZONE_GET_BIN(notify_retry, o, zone->pattern);
ZONE_GET_STR(zonestats, o, zone->pattern); ZONE_GET_STR(zonestats, o, zone->pattern);
ZONE_GET_OUTGOING(outgoing_interface, o, zone->pattern); ZONE_GET_OUTGOING(outgoing_interface, o, zone->pattern);
ZONE_GET_BIN(allow_axfr_fallback, o, zone->pattern); ZONE_GET_BIN(allow_axfr_fallback, o, zone->pattern);
ZONE_GET_INT(max_refresh_time, o, zone->pattern); ZONE_GET_INT(max_refresh_time, o, zone->pattern);
ZONE_GET_INT(min_refresh_time, o, zone->pattern); ZONE_GET_INT(min_refresh_time, o, zone->pattern);
skipping to change at line 340 skipping to change at line 341
if(!p) { if(!p) {
printf("Pattern does not exist: %s\n", pat); printf("Pattern does not exist: %s\n", pat);
exit(1); exit(1);
} }
if(strcasecmp("name", o)==0) { if(strcasecmp("name", o)==0) {
quote(p->pname); quote(p->pname);
return; return;
} }
ZONE_GET_STR(zonefile, o, p); ZONE_GET_STR(zonefile, o, p);
ZONE_GET_PATH(final, zonefile, o, p); ZONE_GET_PATH(final, zonefile, o, p);
ZONE_GET_ACL(allow_query, o, p);
ZONE_GET_ACL(request_xfr, o, p); ZONE_GET_ACL(request_xfr, o, p);
ZONE_GET_ACL(provide_xfr, o, p); ZONE_GET_ACL(provide_xfr, o, p);
ZONE_GET_ACL(allow_notify, o, p); ZONE_GET_ACL(allow_notify, o, p);
ZONE_GET_ACL(notify, o, p); ZONE_GET_ACL(notify, o, p);
ZONE_GET_BIN(notify_retry, o, p); ZONE_GET_BIN(notify_retry, o, p);
ZONE_GET_STR(zonestats, o, p); ZONE_GET_STR(zonestats, o, p);
ZONE_GET_OUTGOING(outgoing_interface, o, p); ZONE_GET_OUTGOING(outgoing_interface, o, p);
ZONE_GET_BIN(allow_axfr_fallback, o, p); ZONE_GET_BIN(allow_axfr_fallback, o, p);
ZONE_GET_INT(max_refresh_time, o, p); ZONE_GET_INT(max_refresh_time, o, p);
ZONE_GET_INT(min_refresh_time, o, p); ZONE_GET_INT(min_refresh_time, o, p);
skipping to change at line 466 skipping to change at line 468
} }
/* print zone content items */ /* print zone content items */
static void print_zone_content_elems(pattern_options_type* pat) static void print_zone_content_elems(pattern_options_type* pat)
{ {
if(pat->zonefile) if(pat->zonefile)
print_string_var("zonefile:", pat->zonefile); print_string_var("zonefile:", pat->zonefile);
#ifdef RATELIMIT #ifdef RATELIMIT
zone_print_rrl_whitelist("\trrl-whitelist: ", pat->rrl_whitelist); zone_print_rrl_whitelist("\trrl-whitelist: ", pat->rrl_whitelist);
#endif #endif
print_acl("allow_query:", pat->allow_query);
print_acl("allow-notify:", pat->allow_notify); print_acl("allow-notify:", pat->allow_notify);
print_acl("request-xfr:", pat->request_xfr); print_acl("request-xfr:", pat->request_xfr);
if(pat->multi_master_check) if(pat->multi_master_check)
printf("\tmulti-master-check: %s\n", pat->multi_master_check?"yes ":"no"); printf("\tmulti-master-check: %s\n", pat->multi_master_check?"yes ":"no");
if(!pat->notify_retry_is_default) if(!pat->notify_retry_is_default)
printf("\tnotify-retry: %d\n", pat->notify_retry); printf("\tnotify-retry: %d\n", pat->notify_retry);
print_acl("notify:", pat->notify); print_acl("notify:", pat->notify);
print_acl("provide-xfr:", pat->provide_xfr); print_acl("provide-xfr:", pat->provide_xfr);
if(pat->zonestats) if(pat->zonestats)
print_string_var("zonestats:", pat->zonestats); print_string_var("zonestats:", pat->zonestats);
 End of changes. 3 change blocks. 
0 lines changed or deleted 3 lines changed or added

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