Fix backchannel option for Dahua VTO2111D

This commit is contained in:
Alexey Khit
2022-09-13 21:57:07 +03:00
parent 3aeb278c47
commit d339fbe712
2 changed files with 38 additions and 27 deletions
-6
View File
@@ -80,12 +80,6 @@ func (a *Auth) Write(req *Request) {
}
}
func (a *Auth) Reset() {
if a.Method == AuthDigest {
a.Method = AuthUnknown
}
}
func Between(s, sub1, sub2 string) string {
i := strings.Index(s, sub1)
if i < 0 {