Update dependencies
This commit is contained in:
8
vendor/github.com/mdlayher/netlink/README.md
generated
vendored
8
vendor/github.com/mdlayher/netlink/README.md
generated
vendored
@@ -165,11 +165,19 @@ flowchart LR
|
||||
click go-onewire "https://github.com/SpComb/go-onewire"
|
||||
end
|
||||
|
||||
subgraph "NETLINK_SOCK_DIAG"
|
||||
direction LR
|
||||
|
||||
go-diag["github.com/florianl/go-diag"]
|
||||
click go-diag "https://github.com/florianl/go-diag"
|
||||
end
|
||||
|
||||
NETLINK_CONNECTOR --> netlink
|
||||
NETLINK_CRYPTO --> netlink
|
||||
NETLINK_GENERIC --> netlink
|
||||
NETLINK_KOBJECT_UEVENT --> netlink
|
||||
NETLINK_NETFILTER --> netlink
|
||||
NETLINK_ROUTE --> netlink
|
||||
NETLINK_SOCK_DIAG --> netlink
|
||||
NETLINK_W1 --> netlink
|
||||
```
|
||||
|
||||
5
vendor/github.com/mdlayher/netlink/attribute.go
generated
vendored
5
vendor/github.com/mdlayher/netlink/attribute.go
generated
vendored
@@ -6,7 +6,6 @@ import (
|
||||
"fmt"
|
||||
"math"
|
||||
|
||||
"github.com/josharian/native"
|
||||
"github.com/mdlayher/netlink/nlenc"
|
||||
)
|
||||
|
||||
@@ -168,7 +167,7 @@ type AttributeDecoder struct {
|
||||
func NewAttributeDecoder(b []byte) (*AttributeDecoder, error) {
|
||||
ad := &AttributeDecoder{
|
||||
// By default, use native byte order.
|
||||
ByteOrder: native.Endian,
|
||||
ByteOrder: binary.NativeEndian,
|
||||
|
||||
b: b,
|
||||
}
|
||||
@@ -485,7 +484,7 @@ type AttributeEncoder struct {
|
||||
|
||||
// NewAttributeEncoder creates an AttributeEncoder that encodes Attributes.
|
||||
func NewAttributeEncoder() *AttributeEncoder {
|
||||
return &AttributeEncoder{ByteOrder: native.Endian}
|
||||
return &AttributeEncoder{ByteOrder: binary.NativeEndian}
|
||||
}
|
||||
|
||||
// Uint8 encodes uint8 data into an Attribute specified by typ.
|
||||
|
||||
4
vendor/github.com/mdlayher/netlink/nlenc/doc.go
generated
vendored
4
vendor/github.com/mdlayher/netlink/nlenc/doc.go
generated
vendored
@@ -4,12 +4,10 @@ package nlenc
|
||||
|
||||
import (
|
||||
"encoding/binary"
|
||||
|
||||
"github.com/josharian/native"
|
||||
)
|
||||
|
||||
// NativeEndian returns the native byte order of this system.
|
||||
func NativeEndian() binary.ByteOrder {
|
||||
// TODO(mdlayher): consider deprecating and removing this function for v2.
|
||||
return native.Endian
|
||||
return binary.NativeEndian
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user