Changeset 68f2cd16352dfed249090bb62fee5ddceb5ad0d7

Show
Ignore:
Timestamp:
31/01/06 11:48:47 (3 years ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1138704527 +0000
git-parent:

[0950551c3ff5af5e8476f5dfec8f5da9c2695c93]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1138704527 +0000
Message:

Generate correct originating address in SAP header
in case of IPv4 advertisement on a IPv6-enabled OS

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/stream_output/sap.c

    r2cb472d r68f2cd1  
    444444    } 
    445445    else 
    446 #else 
     446#endif 
    447447    { 
    448448        inet_pton( AF_INET, /* can't fail */ 
     
    450450                   psz_head + 4 ); 
    451451    } 
    452 #endif 
    453452 
    454453    memcpy( psz_head + (b_ipv6 ? 20 : 8), "application/sdp", 15 );