diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2017-08-11 22:30:39 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2017-08-11 22:30:39 +0000 |
commit | 3abf6d5b91a5b00104791cabb0558ac75b765686 (patch) | |
tree | d28fe61f939d5340e024a06a340a2fc2e4a3fa95 /sbin/pfctl/pfctl_radix.c | |
parent | 3645ef95eb31441462a5e7a82d9f52fda2bf33ea (diff) |
add option -N (no domain resolution)
manpage wording and reminder about usage() jmc@
ok florian@ henning@
Diffstat (limited to 'sbin/pfctl/pfctl_radix.c')
-rw-r--r-- | sbin/pfctl/pfctl_radix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl_radix.c b/sbin/pfctl/pfctl_radix.c index a43c469e40f..632e3939121 100644 --- a/sbin/pfctl/pfctl_radix.c +++ b/sbin/pfctl/pfctl_radix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_radix.c,v 1.33 2015/12/10 17:27:00 mmcc Exp $ */ +/* $OpenBSD: pfctl_radix.c,v 1.34 2017/08/11 22:30:38 benno Exp $ */ /* * Copyright (c) 2002 Cedric Berger @@ -496,7 +496,7 @@ pfr_buf_clear(struct pfr_buffer *b) } int -pfr_buf_load(struct pfr_buffer *b, char *file, int nonetwork) +pfr_buf_load(struct pfr_buffer *b, char *file, int nonetwork, int opts) { FILE *fp; char buf[BUF_SIZE]; @@ -513,7 +513,7 @@ pfr_buf_load(struct pfr_buffer *b, char *file, int nonetwork) return (-1); } while ((rv = pfr_next_token(buf, fp)) == 1) - if ((ev = append_addr(b, buf, nonetwork)) == -1) { + if ((ev = append_addr(b, buf, nonetwork, opts)) == -1) { rv = -1; break; } |