diff --git a/pkg/networkserver/grpc_deviceregistry.go b/pkg/networkserver/grpc_deviceregistry.go index c0e84fcfc9..b89a10d032 100644 --- a/pkg/networkserver/grpc_deviceregistry.go +++ b/pkg/networkserver/grpc_deviceregistry.go @@ -2137,7 +2137,7 @@ func (ns *NetworkServer) Set(ctx context.Context, req *ttnpb.SetEndDeviceRequest "pending_mac_state.queued_join_accept.payload": func() bool { return len(st.Device.PendingMacState.QueuedJoinAccept.Payload) == 0 }, "pending_mac_state.queued_join_accept.dev_addr": types.MustDevAddr( st.Device.PendingMacState.QueuedJoinAccept.DevAddr, - ).IsZero, + ).OrZero().IsZero, } { p, isZero := p, isZero if err := st.ValidateSetField(func() bool { return !isZero() }, p); err != nil {