From 37fb264720fa1cee64ea4d2350f3ca0d2a8c55b6 Mon Sep 17 00:00:00 2001 From: delphij Date: Wed, 17 Oct 2012 08:19:08 +0000 Subject: Fix build. --- sys/net/if_lagg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net') diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c index 9919542..0428cbe 100644 --- a/sys/net/if_lagg.c +++ b/sys/net/if_lagg.c @@ -289,7 +289,7 @@ lagg_clone_create(struct if_clone *ifc, int unit, caddr_t params) "use_flowid", CTLTYPE_INT|CTLFLAG_RW, &sc->use_flowid, sc->use_flowid, "Use flow id for load sharing"); SYSCTL_ADD_INT(&sc->ctx, SYSCTL_CHILDREN(oid), OID_AUTO, - "count", CTLTYPE_INT|CTLFLAG_RO, &sc->sc_count, sc->sc_count, + "count", CTLTYPE_INT|CTLFLAG_RD, &sc->sc_count, sc->sc_count, "Total number of ports"); /* Hash all layers by default */ sc->sc_flags = LAGG_F_HASHL2|LAGG_F_HASHL3|LAGG_F_HASHL4; -- cgit v1.1