summaryrefslogtreecommitdiff
path: root/sys/net/pf_if.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2014-01-22 04:33:35 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2014-01-22 04:33:35 +0000
commit36fbd3cafde48b7bf891e033d770bd186876d7d2 (patch)
tree349a5c04f34a8054611cab162b8f0c8b2b5d97e9 /sys/net/pf_if.c
parent336f07576ea188a8b5f11def356ea021868c0b06 (diff)
7x bcopy -> memcpy, impossibility of overlaps verified. ok benno dlg
Diffstat (limited to 'sys/net/pf_if.c')
-rw-r--r--sys/net/pf_if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_if.c b/sys/net/pf_if.c
index fa2b2ee26c7..4fc1fb50c09 100644
--- a/sys/net/pf_if.c
+++ b/sys/net/pf_if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_if.c,v 1.71 2014/01/21 01:50:07 henning Exp $ */
+/* $OpenBSD: pf_if.c,v 1.72 2014/01/22 04:33:34 henning Exp $ */
/*
* Copyright 2005 Henning Brauer <henning@openbsd.org>
@@ -661,7 +661,7 @@ pfi_update_status(const char *name, struct pf_status *pfs)
return;
}
if (p->pfik_group != NULL) {
- bcopy(&p->pfik_group->ifg_members, &ifg_members,
+ memcpy(&ifg_members, &p->pfik_group->ifg_members,
sizeof(ifg_members));
} else {
/* build a temporary list for p only */