introduce dns for syslog too
This commit is contained in:
parent
b4ef9d29f9
commit
3c25a7d9e1
@ -86,6 +86,9 @@ void syslog(char *msg) {
|
||||
state = 0;
|
||||
break;
|
||||
}
|
||||
state = 2;
|
||||
// no break
|
||||
case 2:
|
||||
res32 = sendto(SYSLOG_SOCK, (uint8_t*)msg, strlen(msg), syslogAddr, 514);
|
||||
if (res32 != strlen(msg)) {
|
||||
disconnect(SYSLOG_SOCK);
|
||||
|
Loading…
x
Reference in New Issue
Block a user