+
+void dump_subnet_list(void)
+{
+ subnet_t *subnet;
+ char *netstr;
+cp
+ syslog(LOG_DEBUG, _("Subnet list:"));
+
+ for(subnet = subnet_list[SUBNET_IPV4]; subnet != NULL; subnet = subnet->global_next)
+ {
+ netstr = net2str(subnet);
+ syslog(LOG_DEBUG, " %s owner %s", netstr, subnet->owner->name);
+ free(netstr);
+ }
+
+ syslog(LOG_DEBUG, _("End of subnet list."));
+cp
+}