[gupnp-tools] upload: Add output concerning network interface



commit 39a31d438a54cb4214c506ff4a77e53cf7094f25
Author: Jens Georg <mail jensge org>
Date:   Sun Jan 11 09:56:17 2015 +0100

    upload: Add output concerning network interface
    
    Show interface and ip address that will be used.
    
    Signed-off-by: Jens Georg <mail jensge org>

 src/upload/main.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/upload/main.c b/src/upload/main.c
index a713def..abbaa21 100644
--- a/src/upload/main.c
+++ b/src/upload/main.c
@@ -182,6 +182,10 @@ main (gint   argc,
                 return -6;
         }
 
+        g_print ("UPnP context created for interface %s (%s)\n",
+                 gssdp_client_get_interface (GSSDP_CLIENT (upnp_context)),
+                 gssdp_client_get_host_ip (GSSDP_CLIENT (upnp_context)));
+
         if (!init_control_point (upnp_context, udn, search_timeout)) {
            return -3;
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]