]> git.pld-linux.org Git - packages/rp-pppoe.git/commitdiff
04dad3c60cf755e0c24e2ea7b39e2bb1 rp-pppoe-enobufs.patch rp-pppoe-3_5-2_1
authorjack <jack@pld-linux.org>
Wed, 4 Sep 2002 10:27:19 +0000 (10:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
adapted to version 3.5 (originally 3.3) patch from Thomas Antepoth to src/if.c (closes: #124175), see http://www.voy.com/41165/2/1244.html

Changed files:
    rp-pppoe-enobufs.patch -> 1.1

rp-pppoe-enobufs.patch [new file with mode: 0644]

diff --git a/rp-pppoe-enobufs.patch b/rp-pppoe-enobufs.patch
new file mode 100644 (file)
index 0000000..74a0fe3
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Nur rp-pppoe-3.5-orig/src/if.c rp-pppoe-3.5/src/if.c
+--- rp-pppoe-3.5-orig/src/if.c Mon Jul  8 16:38:24 2002
++++ rp-pppoe-3.5/src/if.c      Wed Sep  4 12:04:11 2002
+@@ -533,7 +533,7 @@
+       return -1;
+     }
+ #elif defined(HAVE_STRUCT_SOCKADDR_LL)
+-    if (send(sock, pkt, size, 0) < 0) {
++    if ((send(sock, pkt, size, 0) < 0) && ( errno != ENOBUFS )) {
+       sysErr("send (sendPacket)");
+       return -1;
+     }
This page took 0.031263 seconds and 4 git commands to generate.