Send correct tgt_type

Fixes #16783
Merge pull request #16789 from cachedout/issue_16783

Send correct tgt_type