root/trunk/freewrt/package/busybox/patches/400-dhcp-ifup.patch
| Revision 3296, 0.8 kB (checked in by tg, 5 years ago) |
|---|
-
busybox-1.4.1/networking/ifupdown.c
old new 476 476 static int dhcp_up(struct interface_defn_t *ifd, execfn *exec) 477 477 { 478 478 #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 479 483 return execute("udhcpc -R -n -p /var/run/udhcpc.%iface%.pid " 480 484 "-i %iface%[[ -H %hostname%]][[ -c %clientid%]][[ -s %script%]]", 481 485 ifd, exec);
Note: See TracBrowser for help on using the browser.


