newconf: delete all proxies on rehash

This commit is contained in:
Elizabeth Myers 2016-04-02 22:30:54 -05:00
parent 7f2272d3d3
commit 5c5296c8f8
2 changed files with 2 additions and 0 deletions

View file

@ -352,6 +352,7 @@ restart_authd_cb(rb_helper * helper)
void
restart_authd(void)
{
ierror("authd restarting...");
restart_authd_cb(authd_helper);
}

View file

@ -2043,6 +2043,7 @@ conf_begin_opm(struct TopConf *tc)
{
yy_opm_address_ipv4 = yy_opm_address_ipv6 = NULL;
yy_opm_port_ipv4 = yy_opm_port_ipv6 = yy_opm_timeout = 0;
delete_opm_proxy_scanner_all();
return 0;
}