diff options
Diffstat (limited to 'lib/nametokva.c')
-rw-r--r-- | lib/nametokva.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/nametokva.c b/lib/nametokva.c index 89e347467f425..67539fce4a8e4 100644 --- a/lib/nametokva.c +++ b/lib/nametokva.c @@ -1,10 +1,10 @@ /* - * Copyright (C) 2002 by Darren Reed. - * - * See the IPFILTER.LICENCE file for details on licencing. - * - * $Id: nametokva.c,v 1.1.4.1 2006/06/16 17:21:07 darrenr Exp $ - */ + * Copyright (C) 2012 by Darren Reed. + * + * See the IPFILTER.LICENCE file for details on licencing. + * + * $Id$ + */ #include "ipf.h" @@ -12,8 +12,8 @@ #include <fcntl.h> ipfunc_t nametokva(name, iocfunc) -char *name; -ioctlfunc_t iocfunc; + char *name; + ioctlfunc_t iocfunc; { ipfunc_resolve_t res; int fd; @@ -22,7 +22,7 @@ ioctlfunc_t iocfunc; res.ipfu_addr = NULL; fd = -1; - if ((opts & OPT_DONOTHING) == 0) { + if ((opts & OPT_DONTOPEN) == 0) { fd = open(IPL_NAME, O_RDONLY); if (fd == -1) return NULL; |