diff options
author | brian <brian@FreeBSD.org> | 1999-03-07 15:02:38 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-03-07 15:02:38 +0000 |
commit | 121ec0cce66ec860abef535b8f62d1bddb4e0c85 (patch) | |
tree | 0b34de9f3a4509264f8524780f736217e7fcc4c3 /usr.sbin/ppp/command.c | |
parent | 1b7dfc80704fcc1053303fab23f411f404a7e856 (diff) | |
download | FreeBSD-src-121ec0cce66ec860abef535b8f62d1bddb4e0c85.zip FreeBSD-src-121ec0cce66ec860abef535b8f62d1bddb4e0c85.tar.gz |
Support proxying & transparent proxying curtesy of libalias(3).
Order the alias command descriptions.
Order the SEE ALSO entries.
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r-- | usr.sbin/ppp/command.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index dda1df7..e0fcf29 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.185 1999/03/03 23:00:39 brian Exp $ + * $Id: command.c,v 1.186 1999/03/04 17:42:15 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/03 23:00:39 $"; +const char VersionDate[] = "$Date: 1999/03/04 17:42:15 $"; 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]"}, + {"proxy", NULL, alias_ProxyRule, LOCAL_AUTH, + "proxy control", "alias proxy server host[:port] ..."}, {"same_ports", NULL, AliasOption, LOCAL_AUTH, "try to leave port numbers unchanged", "alias same_ports [yes|no]", (const void *) PKT_ALIAS_SAME_PORTS}, |