diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2011-07-06 02:42:29 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2011-07-06 02:42:29 +0000 |
commit | 1a89f467197b52dbc105d9fb9b7aef6a030434a1 (patch) | |
tree | 00cefeb8bef85227278c728f72202394a4fd7923 /sys/net/if_pflow.c | |
parent | 194261cc022557c08e3f9e352f90ff1810814094 (diff) |
cosnistently use IFQ_SET_MAXLEN, surfaced in a discussion with + ok bluhm
Diffstat (limited to 'sys/net/if_pflow.c')
-rw-r--r-- | sys/net/if_pflow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_pflow.c b/sys/net/if_pflow.c index 2b506ad0a97..604816ef1d3 100644 --- a/sys/net/if_pflow.c +++ b/sys/net/if_pflow.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pflow.c,v 1.15 2011/04/05 18:01:21 henning Exp $ */ +/* $OpenBSD: if_pflow.c,v 1.16 2011/07/06 02:42:28 henning Exp $ */ /* * Copyright (c) 2008 Henning Brauer <henning@openbsd.org> @@ -132,7 +132,7 @@ pflow_clone_create(struct if_clone *ifc, int unit) ifp->if_output = pflowoutput; ifp->if_start = pflowstart; ifp->if_type = IFT_PFLOW; - ifp->if_snd.ifq_maxlen = ifqmaxlen; + IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); ifp->if_hdrlen = PFLOW_HDRLEN; ifp->if_flags = IFF_UP; ifp->if_flags &= ~IFF_RUNNING; /* not running, need receiver */ |