diff options
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_nat.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/netinet/ip_nat.c b/sys/netinet/ip_nat.c index d6ba6def145..e5dfe2a3124 100644 --- a/sys/netinet/ip_nat.c +++ b/sys/netinet/ip_nat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_nat.c,v 1.16 1998/09/15 09:51:18 pattonme Exp $ */ +/* $OpenBSD: ip_nat.c,v 1.17 1998/10/11 05:37:28 deraadt Exp $ */ /* * Copyright (C) 1995-1997 by Darren Reed. * @@ -10,7 +10,7 @@ */ #if !defined(lint) static const char sccsid[] = "@(#)ip_nat.c 1.11 6/5/96 (C) 1995 Darren Reed"; -static const char rcsid[] = "@(#)$Id: ip_nat.c,v 1.16 1998/09/15 09:51:18 pattonme Exp $"; +static const char rcsid[] = "@(#)$Id: ip_nat.c,v 1.17 1998/10/11 05:37:28 deraadt Exp $"; #endif #if defined(__FreeBSD__) && defined(KERNEL) && !defined(_KERNEL) @@ -351,6 +351,9 @@ int mode; sizeof(iplused[IPL_LOGNAT])); #endif break; + default : + error = EINVAL; + break; } RWLOCK_EXIT(&ipf_nat); SPL_X(s); |