summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2012-12-17 23:02:58 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2012-12-17 23:02:58 +0100
commita77f95269721b21e115f4476589f5853163dabe2 (patch)
treeb3a95b22def97b8673525306edce36776b42df66
parentd86f29340a13cd102d288dd72bc459131318a0c1 (diff)
rndis: set a revision in recipe, limit leases to 1
-rw-r--r--recipes-core/usb-rndis/files/udhcpd-usb-rndis.conf2
-rw-r--r--recipes-core/usb-rndis/usb-rndis-systemd.bb2
2 files changed, 3 insertions, 1 deletions
diff --git a/recipes-core/usb-rndis/files/udhcpd-usb-rndis.conf b/recipes-core/usb-rndis/files/udhcpd-usb-rndis.conf
index 62a016a..117b940 100644
--- a/recipes-core/usb-rndis/files/udhcpd-usb-rndis.conf
+++ b/recipes-core/usb-rndis/files/udhcpd-usb-rndis.conf
@@ -12,7 +12,7 @@ interface rndis0
# by OFFER's, DECLINE's, and ARP conflicts). Will be corrected
# if it's bigger than IP lease block, but it ok to make it
# smaller than lease block.
-#max_leases 254
+max_leases 1
# The amount of time that an IP will be reserved (leased to nobody)
# if a DHCP decline message is received (seconds)
diff --git a/recipes-core/usb-rndis/usb-rndis-systemd.bb b/recipes-core/usb-rndis/usb-rndis-systemd.bb
index b2cc2ce..5d18b7a 100644
--- a/recipes-core/usb-rndis/usb-rndis-systemd.bb
+++ b/recipes-core/usb-rndis/usb-rndis-systemd.bb
@@ -6,6 +6,8 @@ RDEPENDS_${PN} = ""
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+PR = "r1"
+
# The kernel provides with CONFIG_USB_G_ANDROID a composite gadget driver among other with RNDIS functionality.
# This package contains systemd files to configure RNDIS at startup, configures a fix IP localy and provides a dhcp server on the new interface.
# Local IP is 192.168.11.2, remote IP is 192.168.11.1