Date: Thu, 2 Jan 2014 08:39:48 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r260186 - head/sys/netgraph/netflow Message-ID: <201401020839.s028dmXZ097429@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Thu Jan 2 08:39:47 2014 New Revision: 260186 URL: http://svnweb.freebsd.org/changeset/base/260186 Log: Fix !INET6 build for various platforms. Modified: head/sys/netgraph/netflow/netflow.c Modified: head/sys/netgraph/netflow/netflow.c ============================================================================== --- head/sys/netgraph/netflow/netflow.c Thu Jan 2 08:10:35 2014 (r260185) +++ head/sys/netgraph/netflow/netflow.c Thu Jan 2 08:39:47 2014 (r260186) @@ -278,7 +278,9 @@ ng_netflow_copyinfo(priv_p priv, struct i->nfinfo_inact_exp = counter_u64_fetch(priv->nfinfo_inact_exp); i->nfinfo_used = uma_zone_get_cur(priv->zone); +#ifdef INET6 i->nfinfo_used6 = uma_zone_get_cur(priv->zone6); +#endif i->nfinfo_alloc_failed = priv->nfinfo_alloc_failed; i->nfinfo_export_failed = priv->nfinfo_export_failed;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401020839.s028dmXZ097429>