summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-08-28 15:37:15 +0100
committerPeter Powell <petpow@saberuk.com>2017-09-12 15:05:24 +0100
commitfb13dca410541f01db84287f2721d1e256eaf2b5 (patch)
tree53b1c9de79ba80719a7e054de455d86c27676384 /src/modules
parent3b595d39a50e38283768bc6ec8aeb9e73071224f (diff)
Store the server endpoint as a sockaddrs in ListenSocket.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_flashpolicyd.cpp2
1 files changed, 1 insertions, 1 deletions
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())