freebsd-ports/net/rp-pppoe/files/patch-ac
Kirill Ponomarev b88d4fa6e7 Enable pppoe-relay
PR:		ports/69868
Submitted by:	maintainer
2004-08-01 16:31:10 +00:00

15 lines
333 B
Text

--- if.c.orig Mon Jul 8 20:38:24 2002
+++ if.c Wed Mar 10 15:47:26 2004
@@ -285,7 +285,12 @@
int i;
/* BSD only opens one socket for both Discovery and Session packets */
+#if defined(__FreeBSD__)
+ /* Confirmed for FreeBSD 4.8-R [SeaD] */
+ if (!hwaddr) {
+#else
if (fd >= 0) {
+#endif
return fd;
}