]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
htsp: Send configured server name in login response
authorAndreas Smas <andreas@lonelycoder.com>
Fri, 30 Oct 2015 09:51:07 +0000 (10:51 +0100)
committerAndreas Smas <andreas@lonelycoder.com>
Fri, 30 Oct 2015 09:51:07 +0000 (10:51 +0100)
src/htsp_server.c

index 52bcf8446a155dc8805fc31b6963001d4e087a0f..cc474558198b48067c696cc1efec8176ff8356dc 100644 (file)
@@ -1031,7 +1031,7 @@ htsp_method_hello(htsp_connection_t *htsp, htsmsg_t *in)
         htsp->htsp_logname, name, v);
 
   htsmsg_add_u32(r, "htspversion", HTSP_PROTO_VERSION);
-  htsmsg_add_str(r, "servername", "HTS Tvheadend");
+  htsmsg_add_str(r, "servername", config_get_server_name());
   htsmsg_add_str(r, "serverversion", tvheadend_version);
   htsmsg_add_bin(r, "challenge", htsp->htsp_challenge, 32);
   if (tvheadend_webroot)