From bf15048f4269176dd1cd5069c2d7dedf0a2a1007 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 27 May 2009 11:03:14 +0200 Subject: [PATCH] rtpsouce: the network address is in network order Bring the network address in netowkr byte order to the host order. --- gst/rtpmanager/rtpsource.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c index 355526e..ac79322 100644 --- a/gst/rtpmanager/rtpsource.c +++ b/gst/rtpmanager/rtpsource.c @@ -199,6 +199,7 @@ make_address_string (GstNetAddress * addr, gchar * dest, gulong n) guint16 port; gst_netaddress_get_ip4_address (addr, &address, &port); + address = g_ntohl (address); g_snprintf (dest, n, "%d.%d.%d.%d:%d", (address >> 24) & 0xff, (address >> 16) & 0xff, (address >> 8) & 0xff, address & 0xff, -- 2.7.4