Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
count++;
timebuf_t tmp;
fprintf(filePtr.get(), "%s\t%s\t%s\t%s\t%s\n",
- entry.d_address.toString().c_str(), entry.d_localaddress.toString().c_str(),
+ entry.d_address.toStringWithPortExcept(53).c_str(), entry.d_localaddress.toString().c_str(),
entry.d_cookie.toDisplayString().c_str(),
CookieEntry::toString(entry.d_support).c_str(),
entry.d_lastupdate == std::numeric_limits<time_t>::max() ? "Forever" : timestamp(entry.d_lastupdate, tmp));