You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
An entry like this in /etc/config/dhcp: config 'host' option 'name' 'pc2' option 'ip' '192.168.100.56' option 'dns' '1' results in a /tmp/hosts/dhcp entry that looks like this: 192.168.100.56 .lan Obviously it should say "pc2.lan". This happens because $name is set to "" in order to support the MAC-less syntax: "--dhcp-host=lap,192.168.0.199". Fix this by reordering the operations. Also, refuse to add a DNS entry if the hostname or IP is missing. Fixes #17683 Reported-by: Kostas Papadopoulos <kpapad75@travelguide.gr> Signed-off-by: Kevin Cernekee <cernekee@gmail.com> SVN-Revision: 42319 |
10 years ago | |
---|---|---|
.. | ||
base-files | 10 years ago | |
boot | 10 years ago | |
devel | 10 years ago | |
firmware | 10 years ago | |
kernel | 10 years ago | |
libs | 10 years ago | |
network | 10 years ago | |
system | 10 years ago | |
utils | 10 years ago | |
Makefile | 10 years ago |