Add an error message if the filter rule is empty.

Set the streaming status to active only once.
This commit is contained in:
marmei
2019-08-28 17:56:15 +02:00
parent 878531ff79
commit 717fa68b7e
5 changed files with 31 additions and 7 deletions

View File

@@ -43,6 +43,10 @@ func filterThisStream(s interface{}) (status bool) {
for _, filter := range Data.Filter {
if filter.Rule == "" {
continue
}
var group, name, search string
var exclude, include string
var match = false