Skip to content

Commit

Permalink
Update to latest Beehive API
Browse files Browse the repository at this point in the history
  • Loading branch information
soheilhy committed Sep 3, 2015
1 parent 1c398a2 commit 3226d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openflow/bh.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func SetReadBufLen(rlen int) Option {
// OpenFlow configuration that can be set through command line arguments.
func StartOpenFlow(hive bh.Hive, options ...Option) error {
app := hive.NewApp("OFDriver",
bh.LimitOutRate(bucket.Rate(*maxConnRate), 10*uint64(*maxConnRate)))
bh.OutRate(bucket.Rate(*maxConnRate), 10*uint64(*maxConnRate)))
l := &ofListener{
proto: *proto,
addr: *addr,
Expand Down

0 comments on commit 3226d50

Please sign in to comment.