+/* Read in all the subnets specified in the host configuration file */
+
+ for(cfg = myself->config; cfg = get_config_val(cfg, subnet); cfg = cfg->next)
+ {
+ net = new_subnet();
+ net->type = SUBNET_IPV4;
+ net->net.ipv4.address = cfg->data.ip->address;
+ net->net.ipv4.mask = cfg->data.ip->mask;
+
+ subnet_add(myself, net);
+ }
+