diff options
author | Cedric Berger <cedric@cvs.openbsd.org> | 2004-04-09 12:42:07 +0000 |
---|---|---|
committer | Cedric Berger <cedric@cvs.openbsd.org> | 2004-04-09 12:42:07 +0000 |
commit | 166a2e1658bc097fe1406e491200f9b6dac4604d (patch) | |
tree | c21c041c7f2a9d11a4ecea8c5078581627e67f6a /sbin/pfctl/pfctl_radix.c | |
parent | 31e7eb082672d48e83df935c46a2cfe2bae838fe (diff) |
Do not try to load directories. found+ok mpech@
Diffstat (limited to 'sbin/pfctl/pfctl_radix.c')
-rw-r--r-- | sbin/pfctl/pfctl_radix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl_radix.c b/sbin/pfctl/pfctl_radix.c index 04fb4872ef6..c08496bf8b8 100644 --- a/sbin/pfctl/pfctl_radix.c +++ b/sbin/pfctl/pfctl_radix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_radix.c,v 1.24 2004/02/10 18:29:30 henning Exp $ */ +/* $OpenBSD: pfctl_radix.c,v 1.25 2004/04/09 12:42:06 cedric Exp $ */ /* * Copyright (c) 2002 Cedric Berger @@ -605,7 +605,7 @@ pfr_buf_load(struct pfr_buffer *b, char *file, int nonetwork, if (!strcmp(file, "-")) fp = stdin; else { - fp = fopen(file, "r"); + fp = pfctl_fopen(file, "r"); if (fp == NULL) return (-1); } |