From e75466e3d2a647351448930713f58623b6e1c506 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Mon, 3 Feb 2003 09:59:20 +0000 Subject: typos and minor KNF; from andrushock, thanks! --- usr.sbin/authpf/authpf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c index 3f1248a51d8..d056a87e6a3 100644 --- a/usr.sbin/authpf/authpf.c +++ b/usr.sbin/authpf/authpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: authpf.c,v 1.50 2003/02/02 23:31:24 henning Exp $ */ +/* $OpenBSD: authpf.c,v 1.51 2003/02/03 09:59:19 henning Exp $ */ /* * Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org). @@ -79,7 +79,7 @@ static void need_death(int signo); static __dead void do_death(int); /* - * User shell for authenticating gateways. sole purpose is to allow + * User shell for authenticating gateways. Sole purpose is to allow * a user to ssh to a gateway, and have the gateway modify packet * filters to allow access, then remove access when the user finishes * up. Meant to be used only from ssh(1) connections. @@ -131,7 +131,7 @@ main(int argc, char *argv[]) /* open the pf device */ dev = open(PATH_DEVFILE, O_RDWR); if (dev == -1) { - syslog(LOG_ERR, "cannot open filter device (%m)"); + syslog(LOG_ERR, "cannot open packet filter device (%m)"); goto die; } @@ -331,7 +331,7 @@ read_config(FILE *f) if (ap != &pair[2]) goto parse_error; - tp = pair[1]+strlen(pair[1]); + tp = pair[1] + strlen(pair[1]); while ((*tp == ' ' || *tp == '\t') && tp >= pair[1]) *tp-- = '\0'; -- cgit v1.2.3