We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ae53b2 commit eb879ffCopy full SHA for eb879ff
1 file changed
src/webu.c
@@ -974,8 +974,18 @@ static int webu_failauth_check(struct webui_ctx *webui)
974
}
975
976
if (retcd) {
977
- MOTION_LOG(ALR,TYPE_ALL, NO_ERRNO
+ if (mystrne(
978
+ _("Ignoring connection from: %s")
979
+ ,"Ignoring connection from: %s")) {
980
+ MOTION_LOG(ALR,TYPE_ALL, NO_ERRNO
981
, _("Ignoring connection from: %s"), webui->clientip);
982
+ }
983
+ /* Do not translate the message below or change it
984
+ * in any way. Other applications read the logs looking
985
+ * for this message so that the IP can be banned
986
+ */
987
988
+ , "Ignoring connection from: %s", webui->clientip);
989
SLEEP(2, 0);
990
991
0 commit comments