summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2010-12-17 21:29:30 +0300
committerDmitry Kozlov <xeb@mail.ru>2010-12-17 21:29:30 +0300
commit33845548dbae8fb6b798afb135b1aab60ab19093 (patch)
tree415d2993f85771103f66a076895b88ff3777039d
parent382aa50a3e9c844bf73f2a4c9a6c83a68db1ca3b (diff)
downloadaccel-ppp-33845548dbae8fb6b798afb135b1aab60ab19093.tar.gz
accel-ppp-33845548dbae8fb6b798afb135b1aab60ab19093.zip
radius: print also vendor id of unknown attribute received
-rw-r--r--accel-pptpd/radius/packet.c2
1 files changed, 1 insertions, 1 deletions
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;
}