From a77f95269721b21e115f4476589f5853163dabe2 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 17 Dec 2012 23:02:58 +0100 Subject: rndis: set a revision in recipe, limit leases to 1 --- recipes-core/usb-rndis/files/udhcpd-usb-rndis.conf | 2 +- recipes-core/usb-rndis/usb-rndis-systemd.bb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'recipes-core') 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 -- cgit v1.2.3