From 4fb99f81c4d592c7797e12e6cf1166da2fa4fcbc Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 4 Nov 2014 19:05:28 +0100 Subject: [PATCH] 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". --- .../sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf | 2 +- recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf index d6a9334..e29a77d 100644 --- a/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf +++ b/recipes-apps/sysmocom-udhcpd-config/files/sysmocom-bsc/udhcpd.conf @@ -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 diff --git a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb index c246a3c..11bb6e1 100644 --- a/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb +++ b/recipes-apps/sysmocom-udhcpd-config/sysmocom-udhcpd-config_1.bb @@ -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}"