From 33845548dbae8fb6b798afb135b1aab60ab19093 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Fri, 17 Dec 2010 21:29:30 +0300 Subject: radius: print also vendor id of unknown attribute received --- accel-pptpd/radius/packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accel-pptpd') diff --git a/accel-pptpd/radius/packet.c b/accel-pptpd/radius/packet.c index 44bfc41..21ea8ef 100644 --- a/accel-pptpd/radius/packet.c +++ b/accel-pptpd/radius/packet.c @@ -219,7 +219,7 @@ int rad_packet_recv(int fd, struct rad_packet_t **p, struct sockaddr_in *addr) } list_add_tail(&attr->entry, &pack->attrs); } else - log_ppp_warn("radius:packet: unknown attribute received (%i)\n", id); + log_ppp_warn("radius:packet: unknown attribute received (%i,%i)\n", vendor ? vendor->id : 0, id); ptr += len; n -= 2 + len; } -- cgit v1.2.3