diff options
author | 2004-12-05 10:11:29 +0000 | |
---|---|---|
committer | 2004-12-05 10:11:29 +0000 | |
commit | 5094625c8329e85068dc0316c938a1947635049a (patch) | |
tree | 9bc9e77400dec2f80ddbf203efe7ba3472dc2de7 | |
parent | net80211 in the watchdog (diff) | |
download | wireguard-openbsd-5094625c8329e85068dc0316c938a1947635049a.tar.xz wireguard-openbsd-5094625c8329e85068dc0316c938a1947635049a.zip |
initialize $$->tail and $$->next for MAXSRCCONNRATE
-rw-r--r-- | sbin/pfctl/parse.y | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index e3a44adbd00..3d3e68a9867 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.461 2004/12/04 07:58:51 mcbride Exp $ */ +/* $OpenBSD: parse.y,v 1.462 2004/12/05 10:11:29 dhartmei Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -2864,6 +2864,8 @@ state_opt_item : MAXIMUM number { $$->type = PF_STATE_OPT_MAX_SRC_CONN_RATE; $$->data.max_src_conn_rate.limit = $2; $$->data.max_src_conn_rate.seconds = $4; + $$->next = NULL; + $$->tail = $$; } | OVERLOAD '<' STRING '>' flush { if (strlen($3) >= PF_TABLE_NAME_SIZE) { |