Medium: ldirectord: Revised IPv6 workaround code #379

Previous patch #379 was incorrect.
IPv6 workaround code use push function, but push is
appending value whenever execute check_http.(That's a waste...)
So rewrite workaround code use substitution.