projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9777851
)
Print errors when decoding RADSEC packets
author
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Sun, 19 Jan 2014 22:18:43 +0000
(22:18 +0000)
committer
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Sun, 19 Jan 2014 22:19:34 +0000
(22:19 +0000)
src/main/listen.c
patch
|
blob
|
history
diff --git
a/src/main/listen.c
b/src/main/listen.c
index
3ee177a
..
03aab99
100644
(file)
--- a/
src/main/listen.c
+++ b/
src/main/listen.c
@@
-452,9
+452,9
@@
static int dual_tcp_recv(rad_listen_t *listener)
if (rcode == -1) { /* error reading packet */
char buffer[256];
- ERROR("Invalid packet from %s port %d
: closing socket
",
+ ERROR("Invalid packet from %s port %d
, closing socket: %s
",
ip_ntoh(&packet->src_ipaddr, buffer, sizeof(buffer)),
- packet->src_port);
+ packet->src_port
, fr_strerror()
);
}
if (rcode < 0) { /* error or connection reset */