summaryrefslogtreecommitdiffstats
path: root/sys/net/if_lagg.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_lagg.c')
-rw-r--r--sys/net/if_lagg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c
index 92e8dc4..58b7207 100644
--- a/sys/net/if_lagg.c
+++ b/sys/net/if_lagg.c
@@ -303,20 +303,20 @@ lagg_clone_create(struct if_clone *ifc, int unit, caddr_t params)
&SYSCTL_NODE_CHILDREN(_net_link, lagg),
OID_AUTO, num, CTLFLAG_RD, NULL, "");
SYSCTL_ADD_INT(&sc->ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
- "use_flowid", CTLTYPE_INT|CTLFLAG_RW, &sc->use_flowid,
+ "use_flowid", CTLFLAG_RW, &sc->use_flowid,
sc->use_flowid, "Use flow id for load sharing");
SYSCTL_ADD_INT(&sc->ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
- "flowid_shift", CTLTYPE_INT|CTLFLAG_RW, &sc->flowid_shift,
+ "flowid_shift", CTLFLAG_RW, &sc->flowid_shift,
sc->flowid_shift,
"Shift flowid bits to prevent multiqueue collisions");
SYSCTL_ADD_INT(&sc->ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
- "count", CTLTYPE_INT|CTLFLAG_RD, &sc->sc_count, sc->sc_count,
+ "count", CTLFLAG_RD, &sc->sc_count, sc->sc_count,
"Total number of ports");
SYSCTL_ADD_PROC(&sc->ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
"active", CTLTYPE_INT|CTLFLAG_RD, sc, 0, lagg_sysctl_active,
"I", "Total number of active ports");
SYSCTL_ADD_INT(&sc->ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
- "flapping", CTLTYPE_INT|CTLFLAG_RD, &sc->sc_flapping,
+ "flapping", CTLFLAG_RD, &sc->sc_flapping,
sc->sc_flapping, "Total number of port change events");
/* Hash all layers by default */
sc->sc_flags = LAGG_F_HASHL2|LAGG_F_HASHL3|LAGG_F_HASHL4;
OpenPOWER on IntegriCloud