summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs/luci-static/resources/network.js
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-03-30 17:35:59 +0200
committerJo-Philipp Wich <jo@mein.io>2020-03-30 17:36:29 +0200
commita63cea83bda79f42419fa9f4dc3a4da92aead070 (patch)
tree75a90590664d6f60bcde47a6e210f239120c0874 /modules/luci-base/htdocs/luci-static/resources/network.js
parentecc38681bcb6b0f36e705d58dff9b8f6f26a6e8f (diff)
luci-base: network.js: fix JSDoc syntax error
Fixes: 506dc5a90 ("luci-base: extended network.js for check if new interface is createable") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static/resources/network.js')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/network.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/network.js b/modules/luci-base/htdocs/luci-static/resources/network.js
index c79022968..ec40e78be 100644
--- a/modules/luci-base/htdocs/luci-static/resources/network.js
+++ b/modules/luci-base/htdocs/luci-static/resources/network.js
@@ -2312,7 +2312,7 @@ Protocol = L.Class.extend(/** @lends LuCI.Network.Protocol.prototype */ {
* @param {string} ifname
* The name of the interface to be created.
*
- * @returns {Promise<null|error message>}
+ * @returns {Promise<null|string>}
* Returns `null` if new interface is createable, else returns (error) message.
*/
isCreateable: function(ifname) {