Deleted Added
full compact
view.c (356345) view.c (361435)
1/*
2 * services/view.c - named views containing local zones authority service.
3 *
4 * Copyright (c) 2016, NLnet Labs. All rights reserved.
5 *
6 * This software is open source.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 184 unchanged lines hidden (view full) ---

193 return 0;
194 }
195 if(!cfg_str2list_insert(
196 &lz_cfg.local_zones, nd_str,
197 nd_type)) {
198 log_err("failed to insert "
199 "default zones into "
200 "local-zone list");
1/*
2 * services/view.c - named views containing local zones authority service.
3 *
4 * Copyright (c) 2016, NLnet Labs. All rights reserved.
5 *
6 * This software is open source.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 184 unchanged lines hidden (view full) ---

193 return 0;
194 }
195 if(!cfg_str2list_insert(
196 &lz_cfg.local_zones, nd_str,
197 nd_type)) {
198 log_err("failed to insert "
199 "default zones into "
200 "local-zone list");
201 free(nd_str);
202 free(nd_type);
203 lock_rw_unlock(&v->lock);
204 return 0;
205 }
206 }
207 }
208 if(!local_zones_apply_cfg(v->local_zones, &lz_cfg)){
209 lock_rw_unlock(&v->lock);
210 return 0;

--- 40 unchanged lines hidden ---
201 lock_rw_unlock(&v->lock);
202 return 0;
203 }
204 }
205 }
206 if(!local_zones_apply_cfg(v->local_zones, &lz_cfg)){
207 lock_rw_unlock(&v->lock);
208 return 0;

--- 40 unchanged lines hidden ---