diff options
Diffstat (limited to 'sys/net/pf_norm.c')
-rw-r--r-- | sys/net/pf_norm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_norm.c b/sys/net/pf_norm.c index 68308b027d3..f01e850d2c0 100644 --- a/sys/net/pf_norm.c +++ b/sys/net/pf_norm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_norm.c,v 1.208 2017/06/26 18:33:24 bluhm Exp $ */ +/* $OpenBSD: pf_norm.c,v 1.209 2018/02/06 09:16:11 henning Exp $ */ /* * Copyright 2001 Niels Provos <provos@citi.umich.edu> @@ -1016,7 +1016,7 @@ pf_normalize_tcp_init(struct pf_pdesc *pd, struct pf_state_peer *src) src->scrub = pool_get(&pf_state_scrub_pl, PR_NOWAIT); if (src->scrub == NULL) return (1); - bzero(src->scrub, sizeof(*src->scrub)); + memset(src->scrub, 0, sizeof(*src->scrub)); switch (pd->af) { case AF_INET: { |