[pulseaudio-tickets] [Bug 68283] New: Bonjour requires ports to be specified in network-byte-order

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 19 08:54:45 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=68283

          Priority: medium
            Bug ID: 68283
          Keywords: patch
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
           Summary: Bonjour requires ports to be specified in
                    network-byte-order
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Mac OS X (All)
          Reporter: thothonegan at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: modules
           Product: PulseAudio

Created attachment 84255
  --> https://bugs.freedesktop.org/attachment.cgi?id=84255&action=edit
Patch that uses htons to return ports in network byteorder

For DNS-SD (Bonjour) discovery, all ports should be set in network byteorder
instead of host byteorder. Without this, all ports on little-endian systems
(intel) are incorrect. Patch attached that uses htons() to return the port in
network order.

Documentation:
https://developer.apple.com/library/mac/documentation/networking/Reference/DNSServiceDiscovery_CRef/Reference/reference.html#//apple_ref/c/func/DNSServiceRegister

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20130819/9d2a3ee4/attachment.html>


More information about the pulseaudio-bugs mailing list