Changeset 658


Ignore:
Timestamp:
2005-04-18T05:52:42+02:00 (13 years ago)
Author:
mbm
Message:

use busybox's "ifconfig broadcast +" if no broadcast is sent via dhcp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/target/default/target_skeleton/usr/share/udhcpc/default.script

    r211 r658  
    1414        renew|bound) 
    1515                ifconfig $interface $ip \ 
    16                 ${broadcast:+broadcast $broadcast} \ 
    17                 ${subnet:+netmask $subnet} 
     16                netmask ${subnet:-255.255.255.0} \                                                                       
     17                broadcast ${broadcast:-+}                                                                                
    1818 
    1919                if [ -n "$router" ] ; then 
Note: See TracChangeset for help on using the changeset viewer.