ppp: honor LDFLAGS
[openwrt/openwrt.git] / package / network / services / ppp / patches / 540-save-pppol2tp_fd_str.patch
1 --- a/pppd/plugins/pppol2tp/pppol2tp.c
2 +++ b/pppd/plugins/pppol2tp/pppol2tp.c
3 @@ -148,6 +148,10 @@ static int setdevname_pppol2tp(char **ar
4 fatal("PPPoL2TP kernel driver not installed");
5 }
6
7 + pppol2tp_fd_str = strdup(*argv);
8 + if (pppol2tp_fd_str == NULL)
9 + novm("PPPoL2TP FD");
10 +
11 /* Setup option defaults. Compression options are disabled! */
12
13 modem = 0;