diff options
author | David Krause <david@cvs.openbsd.org> | 2005-02-07 18:18:15 +0000 |
---|---|---|
committer | David Krause <david@cvs.openbsd.org> | 2005-02-07 18:18:15 +0000 |
commit | a591a793fc34b20ea629180b4fd617dbaf0c4464 (patch) | |
tree | 9c40fe073f86bf22516972beb7c2309997fdd941 /sbin/pfctl/parse.y | |
parent | af051711288e63536c49fef494ae6dbb2525fb7a (diff) |
KNF; ok henning@
Diffstat (limited to 'sbin/pfctl/parse.y')
-rw-r--r-- | sbin/pfctl/parse.y | 5 |
1 files changed, 2 insertions, 3 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) |