ppp: update to version 2.4.7.git-2019-05-06
[openwrt/staging/ynezz.git] / package / network / services / ppp / patches / 540-save-pppol2tp_fd_str.patch
index 7dd2ad844cba74585fdb69c204196fefcb3747c6..d6d44afbd09032621d6e6ec4fe1102f3162c31cf 100644 (file)
@@ -1,8 +1,8 @@
 --- a/pppd/plugins/pppol2tp/pppol2tp.c
 +++ b/pppd/plugins/pppol2tp/pppol2tp.c
-@@ -148,6 +148,10 @@ static int setdevname_pppol2tp(char **ar
-               fatal("PPPoL2TP kernel driver not installed");
-       }
+@@ -152,6 +152,10 @@ static int setdevname_pppol2tp(char **ar
+       if (pppol2tp_fd_str == NULL)
+               novm("PPPoL2TP FD");
  
 +      pppol2tp_fd_str = strdup(*argv);
 +      if (pppol2tp_fd_str == NULL)