]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
access: fix the uilevel access entry init
authorJaroslav Kysela <perex@perex.cz>
Tue, 1 Dec 2015 18:53:39 +0000 (19:53 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 1 Dec 2015 18:53:39 +0000 (19:53 +0100)
src/access.c

index 3ce3895beac8ce014d083310048c99072b1fc35a..d73b3157909b4c3b87c91ab4206db30e1b19dc94 100644 (file)
@@ -1041,6 +1041,8 @@ access_entry_create(const char *uuid, htsmsg_t *conf)
 
   TAILQ_INIT(&ae->ae_ipmasks);
 
+  ae->ae_uilevel = UILEVEL_DEFAULT;
+
   if (conf) {
     /* defaults */
     ae->ae_htsp_streaming = 1;