Module: kamailio
Branch: master
Commit: 64086e607928fe458d6a32f384ef8449455d2679
URL:
https://github.com/kamailio/kamailio/commit/64086e607928fe458d6a32f384ef844…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-06-29T10:33:51+02:00
microhttpd: docs for listen_addr parameter
---
Modified: src/modules/microhttpd/doc/microhttpd_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/64086e607928fe458d6a32f384ef844…
Patch:
https://github.com/kamailio/kamailio/commit/64086e607928fe458d6a32f384ef844…
---
diff --git a/src/modules/microhttpd/doc/microhttpd_admin.xml
b/src/modules/microhttpd/doc/microhttpd_admin.xml
index 4efe9d2511..a50edb7981 100644
--- a/src/modules/microhttpd/doc/microhttpd_admin.xml
+++ b/src/modules/microhttpd/doc/microhttpd_admin.xml
@@ -53,7 +53,28 @@
<section>
<title>Parameters</title>
- <section id="microhttpd.p.listen">
+ <section id="microhttpd.p.listen_addr">
+ <title><varname>listen_addr</varname> (int)</title>
+ <para>
+ IPv4 address to listen for HTTP connection. If not set, then it
+ listens on all local addresses (port has to be specified by
+ listen_port parameter).
+ </para>
+ <para>
+ <emphasis>
+ Default value is "" (empty - not set).
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>listen_addr</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("microhttpd", "listen_addr", "127.0.0.1")
+...
+</programlisting>
+ </example>
+ </section>
+ <section id="microhttpd.p.listen_port">
<title><varname>listen_port</varname> (int)</title>
<para>
Port to listen for HTTP connection.