summaryrefslogtreecommitdiff
path: root/sys/net/if_vether.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-03-26 13:19:27 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-03-26 13:19:27 +0000
commitcb517b0a9901ec325abd58be7956c791fca9ca9d (patch)
tree49353f01ea14a290f95ef54de80b6705bb794455 /sys/net/if_vether.c
parent3394e2b40fdfaf47946051fdcc269dec29ff9a82 (diff)
Remove various read-only *maxlen variables and use IFQ_MAXLEN directly.
ok beck@, mikeb@
Diffstat (limited to 'sys/net/if_vether.c')
-rw-r--r--sys/net/if_vether.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_vether.c b/sys/net/if_vether.c
index 0442b76b64e..4c7604c9f9a 100644
--- a/sys/net/if_vether.c
+++ b/sys/net/if_vether.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vether.c,v 1.16 2011/07/22 15:59:40 deraadt Exp $ */
+/* $OpenBSD: if_vether.c,v 1.17 2013/03/26 13:19:26 mpi Exp $ */
/*
* Copyright (c) 2009 Theo de Raadt
@@ -86,7 +86,7 @@ vether_clone_create(struct if_clone *ifc, int unit)
ifp->if_softc = sc;
ifp->if_ioctl = vetherioctl;
ifp->if_start = vetherstart;
- IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen);
+ IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);
IFQ_SET_READY(&ifp->if_snd);
ifp->if_capabilities = IFCAP_VLAN_MTU;