X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/da8fbc65ef8785b3ae306e4863eb4ec6c7dfde13..bb14a2f07c5b50fac48f91e68bb692ed7e0f1304:/package/ppp/patches/330-retain_foreign_default_routes.patch diff --git a/package/ppp/patches/330-retain_foreign_default_routes.patch b/package/ppp/patches/330-retain_foreign_default_routes.patch index d60ccae50..3a98b6b98 100644 --- a/package/ppp/patches/330-retain_foreign_default_routes.patch +++ b/package/ppp/patches/330-retain_foreign_default_routes.patch @@ -4,7 +4,7 @@ SIN_ADDR(rt.rt_genmask) = 0L; } -+ rt.rt_dev = ifname; ++ rt.rt_dev = ifname; rt.rt_flags = RTF_UP; if (ioctl(sock_fd, SIOCDELRT, &rt) < 0 && errno != ESRCH) { if (still_ppp()) {