summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/command.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-03-07 18:13:44 +0000
committerbrian <brian@FreeBSD.org>1999-03-07 18:13:44 +0000
commit7ae299d980b74227ffb2395df09111e9e75a0a58 (patch)
treed5731c08a6815e59b928ad94609d3ec1c9b4c8c9 /usr.sbin/ppp/command.c
parent8b7bf74482a8f02d04eb893476a0bbe5281f9741 (diff)
downloadFreeBSD-src-7ae299d980b74227ffb2395df09111e9e75a0a58.zip
FreeBSD-src-7ae299d980b74227ffb2395df09111e9e75a0a58.tar.gz
Support PPTP via libalias (``alias pptp addr'').
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r--usr.sbin/ppp/command.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index e0fcf29..58dce7f 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/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.186 1999/03/04 17:42:15 brian Exp $
+ * $Id: command.c,v 1.187 1999/03/07 15:02:37 brian Exp $
*
*/
#include <sys/param.h>
@@ -141,7 +141,7 @@
#define NEG_DNS 52
const char Version[] = "2.11";
-const char VersionDate[] = "$Date: 1999/03/04 17:42:15 $";
+const char VersionDate[] = "$Date: 1999/03/07 15:02:37 $";
static int ShowCommand(struct cmdargs const *);
static int TerminalCommand(struct cmdargs const *);
@@ -554,6 +554,8 @@ static struct cmdtab const AliasCommands[] =
(const void *) PKT_ALIAS_LOG},
{"port", NULL, alias_RedirectPort, LOCAL_AUTH,
"port redirection", "alias port [proto addr_local:port_local port_alias]"},
+ {"pptp", NULL, alias_Pptp, LOCAL_AUTH,
+ "Set the PPTP address", "alias pptp IP"},
{"proxy", NULL, alias_ProxyRule, LOCAL_AUTH,
"proxy control", "alias proxy server host[:port] ..."},
{"same_ports", NULL, AliasOption, LOCAL_AUTH,
OpenPOWER on IntegriCloud