From: Ilia Pavlikhin Date: Tue, 24 Sep 2019 11:26:52 +0000 (+0000) Subject: Fix infinity loop when network address and X-Git-Tag: release-1.1pre18~16 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=f1baecb98b5cd78356acc590cea9c79d36d81be3;p=tinc Fix infinity loop when network address and prefix do not match --- diff --git a/src/net.c b/src/net.c index 75838e00..22c9d372 100644 --- 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; }