diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-03-07 05:43:18 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2001-03-07 05:43:18 +0000 |
commit | d3d57b0fadf9b1bca237a750d63b17aa98f2ddb1 (patch) | |
tree | 0e1b97fa79ad053959632906919cf9431ae8fece /sys/netinet/ip_fil.c | |
parent | a7b1168f87d490e208b163dc0ea1be27c100ae62 (diff) |
Missing SPL_X(); deraadt@ ok
Diffstat (limited to 'sys/netinet/ip_fil.c')
-rw-r--r-- | sys/netinet/ip_fil.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/sys/netinet/ip_fil.c b/sys/netinet/ip_fil.c index 13477b1a109..9bbe50a0efd 100644 --- a/sys/netinet/ip_fil.c +++ b/sys/netinet/ip_fil.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_fil.c,v 1.41 2001/02/06 17:29:30 fgsch Exp $ */ +/* $OpenBSD: ip_fil.c,v 1.42 2001/03/07 05:43:17 aaron Exp $ */ /* * Copyright (C) 1993-2000 by Darren Reed. @@ -252,12 +252,18 @@ int iplattach() # ifdef IPFILTER_LOG ipflog_init(); # endif - if (nat_init() == -1) + if (nat_init() == -1) { + SPL_X(s); return -1; - if (fr_stateinit() == -1) + } + if (fr_stateinit() == -1) { + SPL_X(s); return -1; - if (appr_init() == -1) + } + if (appr_init() == -1) { + SPL_X(s); return -1; + } # ifdef NETBSD_PF # if __NetBSD_Version__ >= 104200000 |