Copy dependencies into vendor dir, using dep
This commit is contained in:
1 parent
549ccff5eb
commit
b534ea60f5
2857 files changed
+945317
No files matched your search
+23
@@ -0,0 +1,23 @@
|
||||
// Copyright 2012 Google, Inc. All rights reserved.
|
||||
// Copyright 2009-2011 Andreas Krennmair. All rights reserved.
|
||||
//
|
||||
// Use of this source code is governed by a BSD-style license
|
||||
// that can be found in the LICENSE file in the root of the source
|
||||
// tree.
|
||||
|
||||
package pcap
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
)
|
||||
|
||||
func (p *Handle) openLive() error {
|
||||
// do nothing
|
||||
return nil
|
||||
}
|
||||
|
||||
// waitForPacket waits for a packet or for the timeout to expire.
|
||||
func (p *Handle) waitForPacket() {
|
||||
// can't use select() so instead just switch goroutines
|
||||
runtime.Gosched()
|
||||
}
|
||||
Reference in new issue
Block a user