pkgsrc/net/rp-pppoe/patches/patch-ac
tron 3e8284f710 Update "rp-pppoe" package to version 2.8. Changes since version 2.6:
- Added init scripts for TurboLinux, courtesy of Yasuhiro Sumi.
- Made relay.c check packet lengths rigorously; made it throw out Ethernet
  frame padding on discovery packets.
- Completely restructured source file tree.
- Much internal restructuring to eliminate a bunch of global variables.
- adsl-connect now executes /etc/ppp/adsl-lost whenever connection is dropped
  or cannot be established.
- Split pppoe.c into pppoe.c and discovery.c.
- Added relay agent (pppoe-relay).  Development of the relay agent was
  funded by IBM Corporation.
- Made adsl-connect script use the "-U" (host-unique) option to better support
  multiple PPPoE links.
- Added support for kernel-mode PPPoE (EXPERIMENTAL, UNSUPPORTED!)
- Added "-o" option to PPPoE server; encoded server PID in pppoe-server
  cookie.
Furthermore a startup script for NetBSD 1.5 and newer was added.
2001-03-18 18:55:28 +00:00

15 lines
536 B
Text

$NetBSD: patch-ac,v 1.3 2001/03/18 18:55:29 tron Exp $
--- pppoe.h.orig Mon Feb 5 17:34:49 2001
+++ pppoe.h Sun Mar 18 19:11:33 2001
@@ -72,7 +72,9 @@
#ifdef USE_BPF
extern int bpfSize;
struct PPPoEPacketStruct;
-void sessionDiscoveryPacket(struct PPPoEPacketStruct *packet);
+struct PPPoEConnectionStruct;
+void sessionDiscoveryPacket(struct PPPoEConnectionStruct *conn,
+ struct PPPoEPacketStruct *packet);
#define BPF_BUFFER_IS_EMPTY (bpfSize <= 0)
#define BPF_BUFFER_HAS_DATA (bpfSize > 0)
#define ethhdr ether_header