X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/da8fbc65ef8785b3ae306e4863eb4ec6c7dfde13..2d3d3c4f6e44013824247928605c5d9439a3b564:/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()) {