root/trunk/freewrt/package/busybox/patches/400-dhcp-ifup.patch

Revision 3296, 0.8 kB (checked in by tg, 5 years ago)

sent these to upstream

  • busybox-1.4.1/networking/ifupdown.c

    old new  
    476476static int dhcp_up(struct interface_defn_t *ifd, execfn *exec) 
    477477{ 
    478478#if ENABLE_APP_UDHCPC 
     479#if ENABLE_FEATURE_IFUPDOWN_IP 
     480        if (!execute("ip link set %iface% up", ifd, exec)) 
     481                return 0; 
     482#endif 
    479483        return execute("udhcpc -R -n -p /var/run/udhcpc.%iface%.pid " 
    480484                        "-i %iface%[[ -H %hostname%]][[ -c %clientid%]][[ -s %script%]]", 
    481485                        ifd, exec); 
Note: See TracBrowser for help on using the browser.