diff options
author | liguojiang <guojiang@591wifi.com> | 2016-01-04 00:49:47 +0800 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-01-03 23:18:29 +0300 |
commit | 5b44e480d387916fe19f93caa45faac954444f9c (patch) | |
tree | bf1005dd10405343ea59680264a0c89f4d6da40c | |
parent | 683fcf64fa9b90efd009d47a7ca500459adf419d (diff) | |
download | accel-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.c | 2 |
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) |