diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2011-01-18 08:41:14 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2011-01-18 08:41:14 +0300 |
commit | 24a7ea1cdcba91f15670c50ba0e1ea456fa2a5ca (patch) | |
tree | c99d399634e194be444a7581ef4a6659a19b8f79 /accel-pppd | |
parent | c783f297faa2453daca7189182a17f913e003ccc (diff) | |
download | accel-ppp-24a7ea1cdcba91f15670c50ba0e1ea456fa2a5ca.tar.gz accel-ppp-24a7ea1cdcba91f15670c50ba0e1ea456fa2a5ca.zip |
radius: don't free receive buffer immediatly
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/radius/packet.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/accel-pppd/radius/packet.c b/accel-pppd/radius/packet.c index a3ba9a2d..e8d2af93 100644 --- a/accel-pppd/radius/packet.c +++ b/accel-pppd/radius/packet.c @@ -227,9 +227,6 @@ int rad_packet_recv(int fd, struct rad_packet_t **p, struct sockaddr_in *addr) n -= 2 + len; } - munmap(pack->buf, REQ_LENGTH_MAX); - pack->buf = NULL; - *p = pack; return 0; |