diff options
author | henning <henning@openbsd.org> | 2012-07-07 16:24:32 +0000 |
---|---|---|
committer | henning <henning@openbsd.org> | 2012-07-07 16:24:32 +0000 |
commit | a5bef0578623993c2c558fbcae838ce8213e82d8 (patch) | |
tree | e903cecb5929b6e860441fc15c917e4487b2097c /usr.sbin/ftp-proxy | |
parent | update to 1.2.2 and start using /var/www/cache instead of /var/www/tmp (diff) | |
download | wireguard-openbsd-a5bef0578623993c2c558fbcae838ce8213e82d8.tar.xz wireguard-openbsd-a5bef0578623993c2c558fbcae838ce8213e82d8.zip |
rename prio in struct pf_rule and related structs to set_prio so it is
utterly clear this is not a filter criteria but a packet modification thing.
also preparation for upcoming changes, including one to unscrew this mess
(I should not have to touch half the tree for this - ifixitlater)
not user visible, ok gcc
Diffstat (limited to 'usr.sbin/ftp-proxy')
-rw-r--r-- | usr.sbin/ftp-proxy/filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ftp-proxy/filter.c b/usr.sbin/ftp-proxy/filter.c index 7d354cfaef6..2709ee66683 100644 --- a/usr.sbin/ftp-proxy/filter.c +++ b/usr.sbin/ftp-proxy/filter.c @@ -1,4 +1,4 @@ -/* $OpenBSD: filter.c,v 1.18 2012/04/30 13:53:01 haesbaert Exp $ */ +/* $OpenBSD: filter.c,v 1.19 2012/07/07 16:24:32 henning Exp $ */ /* * Copyright (c) 2004, 2005 Camiel Dobbelaar, <cd@sentia.nl> @@ -207,7 +207,7 @@ prepare_rule(u_int32_t id, struct sockaddr *src, pfr.rule.dst.addr.type = PF_ADDR_ADDRMASK; pfr.rule.nat.addr.type = PF_ADDR_NONE; pfr.rule.rdr.addr.type = PF_ADDR_NONE; - pfr.rule.prio[0] = pfr.rule.prio[1] = PF_PRIO_NOTSET; + pfr.rule.set_prio[0] = pfr.rule.set_prio[1] = PF_PRIO_NOTSET; if (src->sa_family == AF_INET) { memcpy(&pfr.rule.src.addr.v.a.addr.v4, |