Permalink
Browse files

fix hostname reso?

  • Loading branch information...
ACenterA committed Jul 24, 2018
1 parent 575f524 commit d99f3ee0644ad827f5fe9d10067223e62839bd2f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/proxy.c
@@ -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;

0 comments on commit d99f3ee

Please sign in to comment.