I was wondering why
NEPacket’s metadata was always nil in a packet tunnel.
The metadata is there to support per-app VPN, that is, source application routing mode. You won’t get it in destination IP routing mode.
If that would be useful to you, you should file an enhancement request describing your requirements. Please post your bug number, just for the record.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
As usual, thank you for your prompt response (and sorry for my slow one).
I have filled rdar://48182065