summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsbin/dhclient-script1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index 26b13de..1ba73e0 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -102,6 +102,7 @@ add_new_address() {
netmask $new_subnet_mask \
broadcast $new_broadcast_address \
$medium
+ $IFCONFIG $interface setfirst $new_ip_address
$LOGGER "New IP Address ($interface): $new_ip_address"
$LOGGER "New Subnet Mask ($interface): $new_subnet_mask"
OpenPOWER on IntegriCloud