The endian conversion in the property Mono.Zeroconf.Providers.Bonjour.Service.UPort is wrong; casting between an int and a ushort doesn't do the right thing — NetworkToHostOrder will shift the low bytes into the high bytes, but casting that to a ushort discards the high bytes.

Patch attached.

Attachment: ServiceUPort.patch
Description: Binary data

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to