diff options
author | 2005-02-07 18:18:14 +0000 | |
---|---|---|
committer | 2005-02-07 18:18:14 +0000 | |
commit | cc373228658be6350f1572f861cb254e9f973242 (patch) | |
tree | e0c1682e2fb5fb0201093d3b9df5cfd3287b13fc | |
parent | make updatedepends slightly safer: note which packages may have bogus (diff) | |
download | wireguard-openbsd-cc373228658be6350f1572f861cb254e9f973242.tar.xz wireguard-openbsd-cc373228658be6350f1572f861cb254e9f973242.zip |
KNF; ok henning@
-rw-r--r-- | sbin/pfctl/parse.y | 5 | ||||
-rw-r--r-- | sbin/pfctl/pfctl_parser.h | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 3efa0554e72..76b25e51756 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.476 2005/01/28 17:29:31 dhartmei Exp $ */ +/* $OpenBSD: parse.y,v 1.477 2005/02/07 18:18:14 david Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -134,7 +134,6 @@ struct node_state_opt { struct { u_int32_t limit; u_int32_t seconds; - } max_src_conn_rate; struct { u_int8_t flush; @@ -1738,7 +1737,7 @@ pfrule : action dir logquick interface route af proto fromto } if (r.timeout[PFTM_SRC_NODE] < r.max_src_conn_rate.seconds) - r.timeout[PFTM_SRC_NODE] = + r.timeout[PFTM_SRC_NODE] = r.max_src_conn_rate.seconds; r.rule_flag |= PFRULE_SRCTRACK; if (srctrack == PF_SRCTRACK_RULE) diff --git a/sbin/pfctl/pfctl_parser.h b/sbin/pfctl/pfctl_parser.h index 8ac9894b818..5f3294292a3 100644 --- a/sbin/pfctl/pfctl_parser.h +++ b/sbin/pfctl/pfctl_parser.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.h,v 1.79 2005/01/05 18:23:10 mcbride Exp $ */ +/* $OpenBSD: pfctl_parser.h,v 1.80 2005/02/07 18:18:14 david Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -94,7 +94,6 @@ struct pfctl { u_int8_t debug_set; u_int8_t hostid_set; u_int8_t ifname_set; - }; struct node_if { |