Add client address to syslog message

Align with Tomato, to ease merges back downstream.
Adds client address to syslog message, corrects typo "inexpectedly" -> "unexpectedly"
This commit is contained in:
edrikk 2015-06-05 22:27:20 -04:00
parent 2c8e3c1fc2
commit bc69cece0e
1 changed files with 2 additions and 2 deletions

View File

@ -901,7 +901,7 @@ Process_upnphttp(struct upnphttp * h)
}
else if(n==0)
{
syslog(LOG_WARNING, "HTTP Connection closed unexpectedly");
syslog(LOG_WARNING, "HTTP Connection from %s closed unexpectedly", inet_ntoa(h->clientaddr));
h->state = EToDelete;
}
else
@ -971,7 +971,7 @@ Process_upnphttp(struct upnphttp * h)
}
else if(n==0)
{
syslog(LOG_WARNING, "HTTP Connection closed inexpectedly");
syslog(LOG_WARNING, "HTTP Connection from %s closed unexpectedly", inet_ntoa(h->clientaddr));
h->state = EToDelete;
}
else