diff options
| author | Xin LI <delphij@FreeBSD.org> | 2012-10-17 08:19:08 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2012-10-17 08:19:08 +0000 |
| commit | 6684e46988de8887ce2fa7443bc7c55f7a8de8bd (patch) | |
| tree | c2a3ba0bb6a62815fed78e0d47d64250c5104481 /sys | |
| parent | 726793aa8daf03595c37292ccf27f3a9411467bf (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/net/if_lagg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c index 9919542d00743..0428cbe83ed59 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; |
