diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-08-06 13:37:51 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-08-06 15:19:50 +0200 |
commit | d73553e5303587ccecf05a91ead258054c9a70eb (patch) | |
tree | e04646a9bc028297ef9f8d45c4f67d57a6677fd8 /libs/luci-lib-ip/src/ip.luadoc | |
parent | 2bc03f86de62e571b4ce1311dd4099cf73887722 (diff) |
luci-lib-ip: support specifying source address in route()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'libs/luci-lib-ip/src/ip.luadoc')
-rw-r--r-- | libs/luci-lib-ip/src/ip.luadoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/luci-lib-ip/src/ip.luadoc b/libs/luci-lib-ip/src/ip.luadoc index a2df96cdb5..afd171bebf 100644 --- a/libs/luci-lib-ip/src/ip.luadoc +++ b/libs/luci-lib-ip/src/ip.luadoc @@ -178,6 +178,8 @@ Determine the route leading to the given destination. @name route @param address A `luci.ip.cidr` instance or a string containing a valid IPv4 or IPv6 range as specified by `luci.ip.new()`. +@param source A `luci.ip.cidr` instance or a string containing +the preferred source address for route selection (optional). @return <p>Table containing the fields described below.</p> <table id="routetable"> <tr><th>Field</th><th>Description</th></tr> |