Merge pull request #2043 from Ansuel/materialfix
[oweals/luci.git] / modules / luci-base / luasrc / sys.luadoc
index 72a16a1ab015bdfa22db7654692df778c670cd45..1c1fa92602f38d5e62f1bc181dceaea0b6f7e7f6 100644 (file)
@@ -1,8 +1,7 @@
 ---[[
 LuCI Linux and POSIX system utilities.
-
-module "luci.sys"
 ]]
+module "luci.sys"
 
 ---[[
 Execute a given shell command and return the error code
@@ -151,6 +150,16 @@ Returns a two-dimensional table of IPv6 address hints.
          [ "ip", "name" ]
 ]]
 
+---[[
+Returns a two-dimensional table of host hints.
+
+@class function
+@name net.host_hints
+@return  Table of table containing known hosts from various sources,
+         indexed by mac address. Each subtable contains at least one
+         of the fields "name", "ipv4" or "ipv6".
+]]
+
 ---[[
 Returns conntrack information