Fix build.

This commit is contained in:
delphij 2012-10-17 08:19:08 +00:00
parent 08e1add7e8
commit 37fb264720

View File

@ -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;