]> 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:40:31 +0000 (18:40 +0200)
src/satip/server.c

index 2721b9afde7e21dbf9531ab23d1d18f723bfe80d..fac9fc85c46706321e6ff15919e481e3bef1bcec 100644 (file)
@@ -132,6 +132,8 @@ satip_server_http_xml(http_connection_t *hc)
     {}
   };
 
+  if (http_server_ip == NULL)
+    return HTTP_STATUS_NOT_FOUND;
 
   htsbuf_queue_init(&q, 0);