fix info struct api docs for iface vs interface
Signed-off-by: Andy Green <andy.green@linaro.org>
diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h
index d3b5215..3a37b4f 100644
--- a/lib/libwebsockets.h
+++ b/lib/libwebsockets.h
@@ -740,7 +740,7 @@
* @port: Port to listen on... you can use 0 to suppress listening on
* any port, that's what you want if you are not running a
* websocket server at all but just using it as a client
- * @interface: NULL to bind the listen socket to all interfaces, or the
+ * @iface: NULL to bind the listen socket to all interfaces, or the
* interface name, eg, "eth2"
* @protocols: Array of structures listing supported protocols and a protocol-
* specific callback for each one. The list is ended with an
diff --git a/libwebsockets-api-doc.html b/libwebsockets-api-doc.html
index a07df43..5839ac9 100644
--- a/libwebsockets-api-doc.html
+++ b/libwebsockets-api-doc.html
@@ -971,6 +971,7 @@
<h2>struct lws_context_creation_info - </h2>
<b>struct lws_context_creation_info</b> {<br>
<i>int</i> <b>port</b>;<br>
+ <i>const char *</i> <b>iface</b>;<br>
<i>struct libwebsocket_protocols *</i> <b>protocols</b>;<br>
<i>struct libwebsocket_extension *</i> <b>extensions</b>;<br>
<i>const char *</i> <b>ssl_cert_filepath</b>;<br>
@@ -990,6 +991,9 @@
<dd>Port to listen on... you can use 0 to suppress listening on
any port, that's what you want if you are not running a
websocket server at all but just using it as a client
+<dt><b>iface</b>
+<dd>NULL to bind the listen socket to all interfaces, or the
+interface name, eg, "eth2"
<dt><b>protocols</b>
<dd>Array of structures listing supported protocols and a protocol-
specific callback for each one. The list is ended with an