mirror of
https://github.com/bettercap/bettercap
synced 2025-07-13 00:23:49 -07:00
misc: updated deps
This commit is contained in:
parent
b8e5872040
commit
c3a4dc8cf5
22 changed files with 218 additions and 48 deletions
7
vendor/github.com/mdlayher/raw/raw.go
generated
vendored
7
vendor/github.com/mdlayher/raw/raw.go
generated
vendored
|
@ -168,13 +168,6 @@ type Config struct {
|
|||
NoCumulativeStats bool
|
||||
}
|
||||
|
||||
// htons converts a short (uint16) from host-to-network byte order.
|
||||
// Thanks to mikioh for this neat trick:
|
||||
// https://github.com/mikioh/-stdyng/blob/master/afpacket.go
|
||||
func htons(i uint16) uint16 {
|
||||
return (i<<8)&0xff00 | i>>8
|
||||
}
|
||||
|
||||
// Copyright (c) 2012 The Go Authors. All rights reserved.
|
||||
// Source code in this file is based on src/net/interface_linux.go,
|
||||
// from the Go standard library. The Go license can be found here:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue