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:
parent
2c8e3c1fc2
commit
bc69cece0e
|
@ -901,7 +901,7 @@ Process_upnphttp(struct upnphttp * h)
|
||||||
}
|
}
|
||||||
else if(n==0)
|
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;
|
h->state = EToDelete;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -971,7 +971,7 @@ Process_upnphttp(struct upnphttp * h)
|
||||||
}
|
}
|
||||||
else if(n==0)
|
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;
|
h->state = EToDelete;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue