Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/luci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-03-11 20:16:24 +0300
committerJo-Philipp Wich <jo@mein.io>2018-03-11 20:26:31 +0300
commit62630fbf880058aa1c7ae10ecf5ae5cb6e4af5bb (patch)
tree17b0770f9acadb2cbdb3294956158e827d4e99af /libs
parentbf04031171b3a64d7a018902123422be70da63bd (diff)
luci-base: fix parsing of ethers(5)
The /etc/ethers file may contain any number of white space characters between the mac address and the IP/hostname field, so extend the pattern to allow for that. Man ethers(5) also states that the IP field may be a symbolic hostname, so test whether the name is an IP address or hostname before adding it to the hints structure. Fixes #1674. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'libs')
0 files changed, 0 insertions, 0 deletions