From c336d2681c7a0a24029c96e821728010ed041885 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 1 Mar 2021 09:16:21 +0100 Subject: [PATCH] luci-base: remove references to removed functions from documentation Fixes: #4778 Fixes: 366707a68 ("luci-base: drop unused functions in luci.sys") Signed-off-by: Jo-Philipp Wich (cherry picked from commit a9da1dc5a5d33cd321d83f42fb16bc6bf9d77b5c) --- modules/luci-base/luasrc/sys.luadoc | 49 ----------------------------- 1 file changed, 49 deletions(-) diff --git a/modules/luci-base/luasrc/sys.luadoc b/modules/luci-base/luasrc/sys.luadoc index 162650e7ac..c1e088eb23 100644 --- a/modules/luci-base/luasrc/sys.luadoc +++ b/modules/luci-base/luasrc/sys.luadoc @@ -110,16 +110,6 @@ LuCI system utilities / network related functions. @name luci.sys.net ]] ----[[ -Returns the current arp-table entries as two-dimensional table. - -@class function -@name net.arptable -@return Table of table containing the current arp entries. --- The following fields are defined for arp entry objects: --- { "IP address", "HW address", "HW type", "Flags", "Mask", "Device" } -]] - ---[[ Returns a two-dimensional table of mac address hints. @@ -176,45 +166,6 @@ Determine the names of available network interfaces. @return Table containing all current interface names ]] ----[[ -Return information about available network interfaces. - -@class function -@name net.deviceinfo -@return Table containing all current interface names and their information -]] - ----[[ -Returns the current kernel routing table entries. - -@class function -@name net.routes -@return Table of tables with properties of the corresponding routes. --- The following fields are defined for route entry tables: --- { "dest", "gateway", "metric", "refcount", "usecount", "irtt", --- "flags", "device" } -]] - ----[[ -Returns the current ipv6 kernel routing table entries. - -@class function -@name net.routes6 -@return Table of tables with properties of the corresponding routes. --- The following fields are defined for route entry tables: --- { "source", "dest", "nexthop", "metric", "refcount", "usecount", --- "flags", "device" } -]] - ----[[ -Tests whether the given host responds to ping probes. - -@class function -@name net.pingtest -@param host String containing a hostname or IPv4 address -@return Number containing 0 on success and >= 1 on error -]] - ---[[ LuCI system utilities / process related functions. -- 2.30.2