[aravis] gv_interface: debug broadcast address.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] gv_interface: debug broadcast address.
- Date: Wed, 2 Jun 2010 14:18:36 +0000 (UTC)
commit 700f26cae99c0fb1e53bf9319b60237538d5a4ee
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Wed Jun 2 16:17:23 2010 +0200
gv_interface: debug broadcast address.
src/arvgvinterface.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/arvgvinterface.c b/src/arvgvinterface.c
index 8a90377..1876d7e 100644
--- a/src/arvgvinterface.c
+++ b/src/arvgvinterface.c
@@ -136,6 +136,10 @@ arv_gv_interface_build_discover_infos_list (ArvGvInterface *gv_interface)
sizeof (ifap->ifa_broadaddr));
inet_address = g_inet_socket_address_get_address (G_INET_SOCKET_ADDRESS (socket_address));
infos->broadcast_address = g_inet_socket_address_new (inet_address, ARV_GVCP_PORT);
+ inet_address_string = g_inet_address_to_string (inet_address);
+ arv_debug ("interface", "[GvInterface::build_discover_infos_list] Broadcast address is %s",
+ inet_address_string);
+ g_free (inet_address_string);
g_object_unref (socket_address);
infos->socket = g_socket_new (G_SOCKET_FAMILY_IPV4,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]