Module Name: src
Committed By: christos
Date: Wed Jan 8 18:05:39 UTC 2025
Modified Files:
src/sys/net: if_ppp.h
Log Message:
Remove PPP_FILTER ifdef. it has been renamed in the new pppd and we should
not be hiding ioctls anyway.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/net/if_ppp.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/if_ppp.h
diff -u src/sys/net/if_ppp.h:1.27 src/sys/net/if_ppp.h:1.28
--- src/sys/net/if_ppp.h:1.27 Sun Sep 6 02:01:01 2015
+++ src/sys/net/if_ppp.h Wed Jan 8 13:05:39 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ppp.h,v 1.27 2015/09/06 06:01:01 dholland Exp $ */
+/* $NetBSD: if_ppp.h,v 1.28 2025/01/08 18:05:39 christos Exp $ */
/* Id: if_ppp.h,v 1.16 1997/04/30 05:46:04 paulus Exp */
/*
@@ -139,7 +139,6 @@ struct ppp_rawin {
#define PPPIOCGNPMODE _IOWR('t', 76, struct npioctl) /* get NP mode */
#define PPPIOCSNPMODE _IOW('t', 75, struct npioctl) /* set NP mode */
#define PPPIOCGIDLE _IOR('t', 74, struct ppp_idle) /* get idle time */
-#ifdef PPP_FILTER
/*
* XXX These are deprecated; they can no longer be used, because they
* XXX don't play well with multiple encaps. The defs are here so that
@@ -156,7 +155,6 @@ struct ppp_rawin {
#define PPPIOCSOPASS _IOW('t', 68, struct bpf_program) /* set out pass flt */
#define PPPIOCSIACTIVE _IOW('t', 67, struct bpf_program) /* set in act flt */
#define PPPIOCSOACTIVE _IOW('t', 66, struct bpf_program) /* set out act flt */
-#endif /* PPP_FILTER */
/* PPPIOC[GS]MTU are alternatives to SIOC[GS]IFMTU, used under Ultrix */
#define PPPIOCGMTU _IOR('t', 73, int) /* get interface MTU */