Fix InetCodec.DecodeValue
This commit is contained in:
+1
-1
@@ -134,7 +134,7 @@ func (c InetCodec) DecodeValue(m *Map, oid uint32, format int16, src []byte) (an
|
||||
}
|
||||
|
||||
var prefix netip.Prefix
|
||||
err := codecScan(c, m, oid, format, src, &prefix)
|
||||
err := codecScan(c, m, oid, format, src, (*netipPrefixWrapper)(&prefix))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user