summaryrefslogtreecommitdiff
path: root/src/python/pybind11/core.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/pybind11/core.cc')
-rw-r--r--src/python/pybind11/core.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/pybind11/core.cc b/src/python/pybind11/core.cc
index 9e97df2b7..a11ad7f6b 100644
--- a/src/python/pybind11/core.cc
+++ b/src/python/pybind11/core.cc
@@ -234,6 +234,7 @@ pybind_init_core(py::module &m_native)
.def("disableAllListeners", &ListenSocket::disableAll)
.def("listenersDisabled", &ListenSocket::allDisabled)
+ .def("listenersLoopbackOnly", &ListenSocket::loopbackOnly)
.def("seedRandom", [](uint64_t seed) { random_mt.init(seed); })