a8911c661d
and reverted by patches, some of them were already present in (now removed) patches; plus: - Changed the names of commands from adsl-* to pppoe-* to more logically name the scripts. - Make the userland pppoe daemon run as "nobody" if possible, once session has started. - Make userland pppoe program somewhat safe if it is installed SUID or SGID. Note that I still do *NOT* recommend a SUID/SGID pppoe. - Fix long-standing bug in pppoe-server that passed arguments to pppd in the wrong order.
12 lines
429 B
Text
12 lines
429 B
Text
$NetBSD: patch-ah,v 1.1 2006/11/01 15:17:14 martin Exp $
|
|
|
|
--- src/pppoe.h.orig 2006-11-01 12:10:00.000000000 +0100
|
|
+++ src/pppoe.h 2006-11-01 12:14:59.000000000 +0100
|
|
@@ -75,7 +75,6 @@
|
|
#ifdef USE_BPF
|
|
extern int bpfSize;
|
|
struct PPPoEPacketStruct;
|
|
-void sessionDiscoveryPacket(struct PPPoEPacketStruct *packet);
|
|
#define BPF_BUFFER_IS_EMPTY (bpfSize <= 0)
|
|
#define BPF_BUFFER_HAS_DATA (bpfSize > 0)
|
|
#define ethhdr ether_header
|