LuCI - OpenWrt Configuration Interface
Find a file
Niels Widger 87bcf9e923 rpcd-mod-luci: Return array of addresses in getHostHints
Update luci-rpc's getHostHints method to return two string arrays for
each host, `ipaddrs` and `ip6addrs`, each containing the host's IPv4
and IPv6 addresses, respectively.  Each array is sorted by a priority
derived from the source from which the address was discovered.  The
current address sources and their priority is as follows (a
higher (larger) priority is listed first):

    - neighbor table entries: 10
    - /etc/ethers entries:    50
    - DHCP leasefile:        100
    - RRDNS queries:         100
    - getifaddrs():          200
    - UCI static leases:     200

The existing `ipv4` and `ipv6` string fields for each host in
`getHostHints` has been removed.  Downstream users of getHostHints
still need to be updated.

Fixes: #4838
Signed-off-by: Niels Widger <niels@qacafe.com>
[squash commits, reformat fixes tag]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a5195e7825)
2021-06-12 19:23:25 +02:00
applications luci-app-statistics: fix read of hostname 2021-06-12 19:22:46 +02:00
build treewide: replace which with command -v 2020-08-20 15:54:54 -10:00
collections luci-ssl: switch to WolfSSL 2020-08-31 13:01:55 +03:00
contrib/package lucihttp: update to latest Git HEAD 2019-07-05 08:27:47 +02:00
docs docs: update js api docs 2020-08-06 17:58:47 +02:00
libs rpcd-mod-luci: Return array of addresses in getHostHints 2021-06-12 19:23:25 +02:00
modules luci-mod-network: rename "device" option to "_net_device" internally 2021-06-12 19:23:18 +02:00
protocols protocols: rename "device" option to "_modem_device" 2021-06-12 19:23:21 +02:00
themes luci-theme-bootstrap: add svg help icon to form field descriptions 2021-06-12 19:23:01 +02:00
.gitignore luci-base: add support for plural translations and contexts in Lua api 2020-01-25 23:21:35 +01:00
CONTRIBUTING.md CONTRIBUTING.md: Fix sign_your_work link. 2020-03-01 14:33:20 -08:00
jsdoc.conf.json docs: various updates 2019-11-07 12:39:24 +01:00
LICENSE * new project: ff-luci - Freifunk Lua Configuration Interface 2008-03-02 21:52:58 +00:00
luci.mk luci.mk: make SUBMENU package define customizable and optional 2021-06-03 08:39:15 -10:00
NOTICE Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
package.json docs: various updates 2019-11-07 12:39:24 +01:00
README.md docs: various updates 2019-11-07 12:39:24 +01:00

OpenWrt luci feed

Translation status

Description

This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.

Usage

This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:

src-git luci https://github.com/openwrt/luci.git

To install all its package definitions, run:

./scripts/feeds update luci
./scripts/feeds install -a -p luci

API Reference

You can browse the generated API documentation directly on Github.

Development

Documentation for developing and extending LuCI can be found in the Wiki

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.

Translation status

Translation status