openwrt-owl/package/network/services/ppp/patches/406-no_modprobe.patch

12 lines
297 B
Diff
Raw Normal View History

--- a/pppd/plugins/pppoatm/pppoatm.c
+++ b/pppd/plugins/pppoatm/pppoatm.c
@@ -133,8 +133,6 @@ static int connect_pppoatm(void)
int fd;
struct atm_qos qos;
- system ("/sbin/modprobe -q pppoatm");
-
if (!device_got_set)
no_device_given_pppoatm();
fd = socket(AF_ATMPVC, SOCK_DGRAM, 0);