pppd: fix build errors with musl
[openwrt.git] / package / network / services / ppp / patches / 406-no_modprobe.patch
1 --- a/pppd/plugins/pppoatm/pppoatm.c
2 +++ b/pppd/plugins/pppoatm/pppoatm.c
3 @@ -133,8 +133,6 @@ static int connect_pppoatm(void)
4         int fd;
5         struct atm_qos qos;
6  
7 -       system ("/sbin/modprobe -q pppoatm");
8 -
9         if (!device_got_set)
10                 no_device_given_pppoatm();
11         fd = socket(AF_ATMPVC, SOCK_DGRAM, 0);