Fix infinity loop when network address and
[tinc] / src / net.c
index 75838e0..22c9d37 100644 (file)
--- a/src/net.c
+++ b/src/net.c
@@ -405,6 +405,7 @@ int reload_configuration(void) {
                        subnet_t *subnet, *s2;
 
                        if(!get_config_subnet(cfg, &subnet)) {
+                               cfg = lookup_config_next(config_tree, cfg);
                                continue;
                        }