+ free_subnet(allowed);
+ }
+
+ if(!cfg) {
+ logger(LOG_WARNING, _("Unauthorized %s from %s (%s) for %s"),
+ "ADD_SUBNET", c->name, c->hostname, subnetstr);
+ return false;
+ }
+
+ free_subnet(allowed);
+ }
+
+ /* If everything is correct, add the subnet to the list of the owner */
+
+ *(new = new_subnet()) = s;
+ subnet_add(owner, new);