mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:48:27 +02:00
[backfire] merge r22497
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22498 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7cd9bd5b3d
commit
c2d19b3eb9
@ -4,7 +4,7 @@
|
|||||||
SIN_ADDR(rt.rt_genmask) = 0L;
|
SIN_ADDR(rt.rt_genmask) = 0L;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ rt.rt_dev = ifname;
|
+ rt.rt_dev = ifname;
|
||||||
rt.rt_flags = RTF_UP;
|
rt.rt_flags = RTF_UP;
|
||||||
if (ioctl(sock_fd, SIOCDELRT, &rt) < 0 && errno != ESRCH) {
|
if (ioctl(sock_fd, SIOCDELRT, &rt) < 0 && errno != ESRCH) {
|
||||||
if (still_ppp()) {
|
if (still_ppp()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user