summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcp/dhcp_4.3.0.bb
diff options
context:
space:
mode:
authorFahad Usman <fahad.usman@gmail.com>2014-08-19 23:39:57 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-23 09:26:10 +0100
commit87c748ca96c1127b9dcf8bf3990d77ab74d776a5 (patch)
tree3d42ce8d3dc7bf4699cfe91e18d5706360dfb3d6 /meta/recipes-connectivity/dhcp/dhcp_4.3.0.bb
parent35318696ad06644f3b5e10c9512a78b639f50757 (diff)
downloadpoky-87c748ca96c1127b9dcf8bf3990d77ab74d776a5.tar.gz
dhcp: do not use ifconfig/route in dhclient-script
The original patch was submitted on ISC's mailing list but it didn't get merged for some reason, it can be found here; https://lists.isc.org/pipermail/dhcp-users/2011-January/012910.html "The ISC DHCP's dhclient-script for Linux still uses the legacy commands 'ifconfig' & 'route' to manage IPv4 network addresses & routes, while it uses iproute2's new "ip" command to manage IPv6 network data. This requires users & distributions to have both types of commands installed The attached patch tries to improve the situation by replacing the old "ifconfig" resp. "route" commands with their "ip" counterparts. It even improves the logic a bit by only flushing the IPv4 addresses instead of taking down the whole interface, which may still have active IPv6 connections." (From OE-Core rev: afcaccd283e590294335f38d86635cf99db39e3f) Signed-off-by: Fahad Usman <fahad.usman@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/dhcp/dhcp_4.3.0.bb')
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp_4.3.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp_4.3.0.bb b/meta/recipes-connectivity/dhcp/dhcp_4.3.0.bb
index 6da28faf50..13bcceb5a8 100644
--- a/meta/recipes-connectivity/dhcp/dhcp_4.3.0.bb
+++ b/meta/recipes-connectivity/dhcp/dhcp_4.3.0.bb
@@ -5,6 +5,7 @@ SRC_URI += "file://dhcp-3.0.3-dhclient-dbus.patch;striplevel=0 \
5 file://link-with-lcrypto.patch \ 5 file://link-with-lcrypto.patch \
6 file://fixsepbuild.patch \ 6 file://fixsepbuild.patch \
7 file://dhclient-script-drop-resolv.conf.dhclient.patch \ 7 file://dhclient-script-drop-resolv.conf.dhclient.patch \
8 file://replace-ifconfig-route.patch \
8 " 9 "
9 10
10SRC_URI[md5sum] = "1020d77e1a4c1f01b76279caff9beb80" 11SRC_URI[md5sum] = "1020d77e1a4c1f01b76279caff9beb80"