From bd0f703348e318aaeae5035916c47f0ad172c048 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 22 Aug 2006 12:24:37 +0000 Subject: [PATCH] fix typo (#693) SVN-Revision: 4628 --- openwrt/package/base-files/default/etc/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/package/base-files/default/etc/functions.sh b/openwrt/package/base-files/default/etc/functions.sh index d13bdc3437..95550a236c 100755 --- a/openwrt/package/base-files/default/etc/functions.sh +++ b/openwrt/package/base-files/default/etc/functions.sh @@ -73,7 +73,7 @@ do_ifup() { DHCP_IP=$(nvram get ${2}_ipaddr) DHCP_NETMASK=$(nvram get ${2}_netmask) mtu=$(nvram get ${2}_mtu) - $DEBUG ifconfig $if $ip ${netmask:+netmask $netmask} ${mtu:+mtu $(($mtu))} broadcast + up + $DEBUG ifconfig $if $DHCP_IP ${DHCP_NETMASK:+netmask $DHCP_NETMASK} ${mtu:+mtu $(($mtu))} broadcast + up DHCP_ARGS="-i $if ${DHCP_IP:+-r $DHCP_IP} -b -p $pidfile" DHCP_HOSTNAME=$(nvram get ${2}_hostname) -- 2.30.2