From cdcc09a23bd3da258702722248916f6f47d37100 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Apr 21 2009 20:41:30 +0000 Subject: - Restrict interface names given on the dhcpd command line to length IFNAMSIZ or shorter (#441524) - Change to /etc/sysconfig/network-scripts in dhclient-script before calling need_config or source_config (#496233) --- diff --git a/dhclient-script b/dhclient-script index be2313c..5899b55 100755 --- a/dhclient-script +++ b/dhclient-script @@ -420,7 +420,8 @@ if [ -f /etc/sysconfig/networking/network ]; then . /etc/sysconfig/networking/network fi -CONFIG="/etc/sysconfig/network-scripts/ifcfg-${interface}" +cd /etc/sysconfig/network-scripts +CONFIG="ifcfg-${interface}" need_config ${CONFIG} source_config >/dev/null 2>&1 diff --git a/dhcp.spec b/dhcp.spec index 051cf7b..1183f1d 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -426,6 +426,8 @@ fi * Mon Apr 20 2009 David Cantrell - 12:4.1.0-19 - Restrict interface names given on the dhcpd command line to length IFNAMSIZ or shorter (#441524) +- Change to /etc/sysconfig/network-scripts in dhclient-script before + calling need_config or source_config (#496233) * Mon Apr 20 2009 David Cantrell - 12:4.1.0-18 - Make dhclient-script work with pre-configured wireless interfaces (#491157)