Skip to content
  • Andrew Feren's avatar
    gst-libs/gst/netbuffer/gstnetbuffer.*: Make gst_netaddress_get_ip4_address fail for v6 addresses. · a628077e
    Andrew Feren authored and Wim Taymans's avatar Wim Taymans committed
    Original commit message from CVS:
    Patch by: Andrew Feren <acferen at yahoo dot com>
    * gst-libs/gst/netbuffer/gstnetbuffer.c:
    (gst_netaddress_get_ip4_address), (gst_netaddress_get_ip6_address),
    (gst_netaddress_get_address_bytes),
    (gst_netaddress_set_address_bytes):
    * gst-libs/gst/netbuffer/gstnetbuffer.h:
    Make gst_netaddress_get_ip4_address fail for v6 addresses.
    Make gst_netaddress_get_ip6_address either fail or return the v4
    address as a transitional v6 address.
    Add two convenience functions:
    API: gst_netaddress_get_address_bytes()
    API: gst_netaddress_set_address_bytes()
    Fixes #564896.
    a628077e
To find the state of this project's repository at the time of any of these versions, check out the tags.