From daaccb0f9d128f4f2e607ac13986164920adf9dd Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Wed, 17 Sep 2008 11:46:43 +0000 Subject: [PATCH] 'dst' does not need to be static --- sys/net/bpf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 7d15c1ed6c..4960ae2000 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -38,7 +38,7 @@ * @(#)bpf.c 8.2 (Berkeley) 3/28/94 * * $FreeBSD: src/sys/net/bpf.c,v 1.59.2.12 2002/04/14 21:41:48 luigi Exp $ - * $DragonFly: src/sys/net/bpf.c,v 1.47 2008/08/17 03:44:48 sephe Exp $ + * $DragonFly: src/sys/net/bpf.c,v 1.48 2008/09/17 11:46:43 sephe Exp $ */ #include "use_bpf.h" @@ -505,7 +505,7 @@ bpfwrite(struct dev_write_args *ap) struct ifnet *ifp; struct mbuf *m; int error; - static struct sockaddr dst; + struct sockaddr dst; int datlen; if (d->bd_bif == NULL) -- 2.41.0