summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>1999-08-02 21:45:46 +0000
committerbrian <brian@cvs.openbsd.org>1999-08-02 21:45:46 +0000
commit158a03c90d8296a4393d3119cbe44657e399a83e (patch)
tree6d01234fd13fe13b7ac93c70bde97f0b809ad595
parent9ea17a188d0c53ea1bab17548956b17c26a46455 (diff)
Mention that ospf is a possible filter protocol.
-rw-r--r--usr.sbin/ppp/ppp/command.c6
-rw-r--r--usr.sbin/ppp/ppp/ppp.85
2 files changed, 6 insertions, 5 deletions
diff --git a/usr.sbin/ppp/ppp/command.c b/usr.sbin/ppp/ppp/command.c
index e5ad05a325f..6aab3f412aa 100644
--- a/usr.sbin/ppp/ppp/command.c
+++ b/usr.sbin/ppp/ppp/command.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: command.c,v 1.30 1999/06/23 16:49:03 brian Exp $
+ * $Id: command.c,v 1.31 1999/08/02 21:45:45 brian Exp $
*
*/
#include <sys/param.h>
@@ -144,7 +144,7 @@
#define NEG_VJCOMP 53
const char Version[] = "2.22";
-const char VersionDate[] = "$Date: 1999/06/23 16:49:03 $";
+const char VersionDate[] = "$Date: 1999/08/02 21:45:45 $";
static int ShowCommand(struct cmdargs const *);
static int TerminalCommand(struct cmdargs const *);
@@ -1814,7 +1814,7 @@ static struct cmdtab const SetCommands[] = {
"escape characters", "set escape hex-digit ..."},
{"filter", NULL, filter_Set, LOCAL_AUTH,
"packet filters", "set filter alive|dial|in|out rule-no permit|deny "
- "[src_addr[/width]] [dst_addr[/width]] [tcp|udp|icmp|igmp "
+ "[src_addr[/width]] [dst_addr[/width]] [tcp|udp|icmp|ospf|igmp "
"[src [lt|eq|gt port]] [dst [lt|eq|gt port]] [estab] [syn] [finrst]]"},
{"hangup", NULL, SetVariable, LOCAL_AUTH | LOCAL_CX,
"hangup script", "set hangup chat-script", (const void *) VAR_HANGUP},
diff --git a/usr.sbin/ppp/ppp/ppp.8 b/usr.sbin/ppp/ppp/ppp.8
index aba55652a40..0ca265b6d07 100644
--- a/usr.sbin/ppp/ppp/ppp.8
+++ b/usr.sbin/ppp/ppp/ppp.8
@@ -1,4 +1,4 @@
-.\" $Id: ppp.8,v 1.64 1999/07/29 14:38:26 brian Exp $
+.\" $Id: ppp.8,v 1.65 1999/08/02 21:45:45 brian Exp $
.Dd 20 September 1995
.nr XX \w'\fC00'
.Dt PPP 8
@@ -1481,6 +1481,7 @@ command below.
must be one of
.Sq icmp ,
.Sq igmp ,
+.Sq ospf ,
.Sq udp
or
.Sq tcp .
@@ -3856,7 +3857,7 @@ as they travel across the link.
.Oo Op host
.Ar src_addr Ns Op / Ns Ar width
.Op Ar dst_addr Ns Op / Ns Ar width
-.Oc Oo tcp|udp|igmp|icmp Op src lt|eq|gt Ar port
+.Oc Oo tcp|udp|ospf|igmp|icmp Op src lt|eq|gt Ar port
.Op dst lt|eq|gt Ar port
.Op estab
.Op syn