Skip to content

Commit

Permalink
fix hostname reso?
Browse files Browse the repository at this point in the history
  • Loading branch information
ACenterA committed Jul 24, 2018
1 parent 575f524 commit d99f3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxy.c
Expand Up @@ -1475,7 +1475,7 @@ static int dump_servers_state(struct stream_interface *si, struct chunk *buf)
srv->puid, srv->id, srv_addr,
srv->cur_state, srv->cur_admin, srv->uweight, srv->iweight, (long int)srv_time_since_last_change,
srv->check.status, srv->check.result, srv->check.health, srv->check.state, srv->agent.state,
bk_f_forced_id, srv_f_forced_id, srv->hostname ? srv->hostname : "-", srv->svc_port, srvrecord ? srvrecord : "-");
bk_f_forced_id, srv_f_forced_id, srvrecord ? "-" : srv->hostname ? srv->hostname : "-", srv->svc_port, srvrecord ? srvrecord : "-");
if (ci_putchk(si_ic(si), &trash) == -1) {
si_applet_cant_put(si);
return 0;
Expand Down

0 comments on commit d99f3ee

Please sign in to comment.