sysmocom-udhcpd-config: fix network mask

* the entry "option	subnet" takes the
  subnet mask not the subnet address,
  while the busybox dhcp-client was
  fine with it, the isc-dhcp-client complained with
  Error: an inet prefix is expected rather than "10.23.24.113/10.23.24.0".
This commit is contained in:
Henning Heinold 2014-11-04 19:05:28 +01:00 committed by Holger Hans Peter Freyther
parent 8800a441a1
commit 4fb99f81c4
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ end 10.23.24.254
interface eth1
option subnet 10.23.24.0
option router 10.23.24.1
option subnet 255.255.255.0
option broadcast 10.23.24.255
option dns 8.8.8.8

View File

@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
SRC_URI = "file://udhcpd.conf \
file://udhcpd.service \
"
PR = "r4"
PR = "r5"
CONFFILES_${PN} = "${sysconfdir}/udhcpd.conf"
FILES_${PN} += "${systemd_unitdir}"