diff options
author | phk <phk@FreeBSD.org> | 1996-01-10 21:28:04 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-01-10 21:28:04 +0000 |
commit | 525e36ce3e9516d50c97f25c011550e6cfec1edc (patch) | |
tree | efa94c4341ade4773e54c6aeb6ee691faaf4f071 /usr.sbin/ppp/filter.c | |
parent | b0a5a520276679c2b26968f7d92736114c95cc30 (diff) | |
download | FreeBSD-src-525e36ce3e9516d50c97f25c011550e6cfec1edc.zip FreeBSD-src-525e36ce3e9516d50c97f25c011550e6cfec1edc.tar.gz |
A random bunch of cleanup changes.
Diffstat (limited to 'usr.sbin/ppp/filter.c')
-rw-r--r-- | usr.sbin/ppp/filter.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/ppp/filter.c b/usr.sbin/ppp/filter.c index b459ff6..8c2ff001 100644 --- a/usr.sbin/ppp/filter.c +++ b/usr.sbin/ppp/filter.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: filter.c,v 1.4 1995/05/30 03:50:31 rgrimes Exp $ + * $Id: filter.c,v 1.5 1995/09/17 16:14:45 amurai Exp $ * * TODO: Shoud send ICMP error message when we discard packets. */ @@ -200,8 +200,6 @@ int argc; char **argv; int proto; { - int port; - char *cp; if (argc == 0) { /* permit/deny all tcp traffic */ @@ -249,7 +247,7 @@ int proto; return(0); } if (argc > 0) - printf("bad %s src/dst port syntax: %s\n", *argv); + printf("bad src/dst port syntax: %s\n", *argv); return(0); } |