[gssdp] Use TTL passed to client
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gssdp] Use TTL passed to client
- Date: Thu, 18 Feb 2016 09:04:22 +0000 (UTC)
commit 7200ec4c70f847942b59cb1c771f9b331894b43f
Author: Jens Georg <mail jensge org>
Date: Thu Feb 18 10:04:07 2016 +0100
Use TTL passed to client
Signed-off-by: Jens Georg <mail jensge org>
libgssdp/gssdp-socket-source.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgssdp/gssdp-socket-source.c b/libgssdp/gssdp-socket-source.c
index b6e9772..b72dc68 100644
--- a/libgssdp/gssdp-socket-source.c
+++ b/libgssdp/gssdp-socket-source.c
@@ -236,7 +236,7 @@ gssdp_socket_source_do_init (GInitable *initable,
/* UDA/1.0 says 4, UDA/1.1 says 2 */
self->priv->ttl = 4;
- g_socket_set_multicast_ttl (self->priv->socket, 4);
+ g_socket_set_multicast_ttl (self->priv->socket, self->priv->ttl);
/* Set up additional things according to the type of socket desired */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]