Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Import IPFilter 4.1.3

  • Loading branch information...
commit 735da6fc8d7b1772bcf7e4be9c2ea75d560b5d39 1 parent 9bcfb3e
martti authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 sys/netinet/ip_auth.c
View
8 sys/netinet/ip_auth.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_auth.c,v 1.1.1.18 2004/03/28 08:56:36 martti Exp $ */
+/* $NetBSD: ip_auth.c,v 1.1.1.19 2004/07/23 05:34:52 martti Exp $ */
/*
* Copyright (C) 1998-2003 by Darren Reed & Guido van Rooij.
@@ -119,7 +119,7 @@ extern struct ifqueue ipintrq; /* ip packet input queue */
/* END OF INCLUDES */
#if !defined(lint)
-static const char rcsid[] = "@(#)Id: ip_auth.c,v 2.73 2004/02/11 14:18:14 darrenr Exp";
+static const char rcsid[] = "@(#)Id: ip_auth.c,v 2.73.2.2 2004/06/08 13:14:12 darrenr Exp";
#endif
@@ -156,7 +156,7 @@ int fr_authinit()
if (fr_authpkts != NULL)
bzero((char *)fr_authpkts, fr_authsize * sizeof(*fr_authpkts));
else
- return -1;
+ return -2;
MUTEX_INIT(&ipf_authmx, "ipf auth log mutex");
RWLOCK_INIT(&ipf_auth, "ipf IP User-Auth rwlock");
@@ -383,7 +383,7 @@ int mode;
error = EPERM;
break;
}
- error = fr_lock(data, &fr_auth_lock);
+ fr_lock(data, &fr_auth_lock);
break;
case SIOCATHST:
Please sign in to comment.
Something went wrong with that request. Please try again.