diff options
author | Ermal <eri@pfsense.org> | 2013-08-01 11:13:49 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-08-01 11:13:49 +0000 |
commit | 8540ee75c75126644affa9bec0878ba75f8ea6ea (patch) | |
tree | b1a0f4ea1acaed2732a19cb1552b449f65032c0d /sbin/dhclient-script | |
parent | e506b054be026604a757a57499d57639d77425ad (diff) | |
download | pfsense-8540ee75c75126644affa9bec0878ba75f8ea6ea.zip pfsense-8540ee75c75126644affa9bec0878ba75f8ea6ea.tar.gz |
Set the interface as first here to properly be able to identify it after in php code. Ticket #2495
Diffstat (limited to 'sbin/dhclient-script')
-rwxr-xr-x | sbin/dhclient-script | 1 |
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" |