diff --git a/include/dynconf.h b/include/dynconf.h index aabbc1251..0d6fe8c79 100644 --- a/include/dynconf.h +++ b/include/dynconf.h @@ -279,6 +279,7 @@ struct SetCheck { unsigned has_dns_retries:1; unsigned has_dns_nameserver:1; unsigned has_dns_bind_ip:1; + unsigned has_link_bind_ip:1; unsigned has_throttle_period:1; unsigned has_throttle_connections:1; unsigned has_kline_address:1; diff --git a/src/s_conf.c b/src/s_conf.c index e319ab113..e919c1213 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -7550,7 +7550,7 @@ int _test_set(ConfigFile *conf, ConfigEntry *ce) for (cepp = cep->ce_entries; cepp; cepp = cepp->ce_next) { CheckNull(cepp); if (!strcmp(cepp->ce_varname, "bind-ip")) { - CheckDuplicate(cepp, dns_bind_ip, "link::bind-ip"); + CheckDuplicate(cepp, link_bind_ip, "link::bind-ip"); if (strcmp(cepp->ce_vardata, "*")) { if (!is_valid_ip(cepp->ce_vardata))