LuCI - OpenWrt Configuration Interface
Find a file
Niels Widger a5195e7825 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>
2021-06-03 09:51:09 +02:00
applications Merge pull request #4305 from EHfive/fix-luci-app-frpc-prop-subdomain 2021-06-02 08:29:07 +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-03 09:51:09 +02:00
modules Merge pull request #4770 from nickberry17/update_DummyValue 2021-06-02 08:23:45 +02:00
protocols protocols: rename "device" option to "_modem_device" 2021-06-01 15:34:11 +02:00
themes Merge pull request #4985 from j123b567/feature_luci-theme-openwrt-2020_mainmenu-submenu-tweek 2021-06-02 08:21:20 +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-02 07:07:22 -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