From fb13dca410541f01db84287f2721d1e256eaf2b5 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 28 Aug 2017 15:37:15 +0100 Subject: Store the server endpoint as a sockaddrs in ListenSocket. --- src/modules/m_flashpolicyd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_flashpolicyd.cpp b/src/modules/m_flashpolicyd.cpp index b44b72dbf..4e7af4b83 100644 --- a/src/modules/m_flashpolicyd.cpp +++ b/src/modules/m_flashpolicyd.cpp @@ -126,7 +126,7 @@ class ModuleFlashPD : public Module if (ls->bind_tag->getString("type", "clients") != "clients" || ls->bind_tag->getString("ssl", "plaintext") != "plaintext") continue; - to_ports.append(ConvToStr(ls->bind_port)).push_back(','); + to_ports.append(ConvToStr(ls->bind_sa.port())).push_back(','); } if (to_ports.empty()) -- cgit v1.2.3