summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliguojiang <guojiang@591wifi.com>2016-01-04 00:49:47 +0800
committerDmitry Kozlov <xeb@mail.ru>2016-01-03 23:18:29 +0300
commit5b44e480d387916fe19f93caa45faac954444f9c (patch)
treebf1005dd10405343ea59680264a0c89f4d6da40c
parent683fcf64fa9b90efd009d47a7ca500459adf419d (diff)
downloadaccel-ppp-5b44e480d387916fe19f93caa45faac954444f9c.tar.gz
accel-ppp-5b44e480d387916fe19f93caa45faac954444f9c.zip
Update packet.c
radius server error packet may be coredump.
-rw-r--r--accel-pppd/radius/packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/radius/packet.c b/accel-pppd/radius/packet.c
index 92e43e2..e23b23c 100644
--- a/accel-pppd/radius/packet.c
+++ b/accel-pppd/radius/packet.c
@@ -254,7 +254,7 @@ int rad_packet_recv(int fd, struct rad_packet_t **p, struct sockaddr_in *addr)
out_err:
rad_packet_free(pack);
- return 0;
+ return 1;
}
void rad_packet_free(struct rad_packet_t *pack)