Update dependencies

This commit is contained in:
bluepython508 committed 2025-04-09 01:00:12 +01:00
1 parent f0641ffd6e
commit 5a9cfc022c
882 files changed
+68907 -24178

No files matched your search

+2 -3
View File
@@ -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.