rp-pppoe/rp-pppoe-3.14-manpages.lux.patch

72 lines
2.6 KiB
Diff
Raw Normal View History

2024-04-15 23:22:55 +02:00
diff -uarNbB '--exclude=*.orig' '--exclude=*.rej' rp-pppoe-3.14.orig/man/pppoe.8 rp-pppoe-3.14/man/pppoe.8
--- rp-pppoe-3.14.orig/man/pppoe.8 2020-05-27 02:29:37.000000000 +0200
+++ rp-pppoe-3.14/man/pppoe.8 2020-08-23 07:51:09.033859091 +0200
@@ -32,6 +32,10 @@
PPPoE timeout to be about four times the LCP echo interval.
.TP
+.B \-t \fItimeout\fR
+The \fB\-t\fR option sets the initial timeout for discovery packets in seconds.
+
+.TP
.B \-D \fIfile_name\fR
The \fB\-D\fR option causes every packet to be dumped to the specified
\fIfile_name\fR. This is intended for debugging only; it produces huge
@@ -147,6 +151,10 @@
ISP uses non-standard frame types, complain!
.TP
+.B \-F numfloods
+The \fB\-F\fR option sets the discovery flood, only used for stress-testing.
+
+.TP
.B \-h
The \fB\-h\fR option causes \fBpppoe\fR to print usage information and
exit.
diff -uarNbB '--exclude=*.orig' '--exclude=*.rej' rp-pppoe-3.14.orig/man/pppoe-server.8 rp-pppoe-3.14/man/pppoe-server.8
--- rp-pppoe-3.14.orig/man/pppoe-server.8 2020-08-23 07:50:35.650666110 +0200
+++ rp-pppoe-3.14/man/pppoe-server.8 2020-08-23 07:51:09.034859097 +0200
@@ -77,12 +77,20 @@
then no limit is imposed on the number of sessions per peer MAC address.
.TP
+.B \-P
+Check pool file for correctness and exit.
+
+.TP
.B \-s
This option is passed directly to \fBpppoe\fR; see \fBpppoe\fR(8) for
details. In addition, it causes \fBpppd\fR to be invoked with the
\fIsync\fR option.
.TP
+.B \-l
+Increment local IP address for each session.
+
+.TP
.B \-L \fIip\fR
Sets the local IP address. This is passed to spawned \fBpppd\fR processes.
If not specified, the default is 10.0.0.1.
@@ -158,6 +166,10 @@
unpredictable order.
.TP
+.B \-d
+Debug session creation.
+
+.TP
.B \-u
Tells the server to invoke \fBpppd\fR with the \fIunit\fR option. Note
that this option only works for \fBpppd\fR version 2.4.0 or newer.
diff -uarNbB '--exclude=*.orig' '--exclude=*.rej' rp-pppoe-3.14.orig/src/pppoe.c rp-pppoe-3.14/src/pppoe.c
--- rp-pppoe-3.14.orig/src/pppoe.c 2020-05-27 02:29:37.000000000 +0200
+++ rp-pppoe-3.14/src/pppoe.c 2020-08-23 07:51:09.035859103 +0200
@@ -383,6 +383,7 @@
" -k -- Kill a session with PADT (requires -e)\n"
" -d -- Perform discovery, print session info and exit.\n"
" -f disc:sess -- Set Ethernet frame types (hex).\n"
+ " -F numfloods -- Set the discovery flood, only used for stress-testing.\n"
" -h -- Print usage information.\n\n"
"RP-PPPoE Version %s, Copyright (C) 2001-2018 Roaring Penguin Software Inc.\n"
" %*s Copyright (C) 2018-2020 Dianne Skoll\n"