X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/da8fbc65ef8785b3ae306e4863eb4ec6c7dfde13..a6e86dfede9e41ca29aba09133236a5fa8c885b3:/package/ppp/patches/330-retain_foreign_default_routes.patch?ds=sidebyside 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()) {