]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
SAT>IP server: don't serve XML description when not enabled, fixes #5029
authorJaroslav Kysela <perex@perex.cz>
Sun, 25 Mar 2018 16:30:49 +0000 (18:30 +0200)
committerJaroslav Kysela <perex@perex.cz>
Sun, 25 Mar 2018 16:31:47 +0000 (18:31 +0200)
src/satip/server.c

index a53484d0503aebf384dfa6dae15da0f2a7841538..5e7c83bcbcb4d2659e58dc6e3b1f7633a0d4f339 100644 (file)
@@ -133,6 +133,8 @@ satip_server_http_xml(http_connection_t *hc)
     {}
   };
 
+  if (http_server_ip == NULL)
+    return HTTP_STATUS_NOT_FOUND;
 
   htsbuf_queue_init(&q, 0);