diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2014-04-11 19:46:16 +0200 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-04-14 17:03:01 +0400 |
commit | cb4dd7730db546181916ca2510bea6d72a5f26dd (patch) | |
tree | 6f0cdf45a4c4b4e63d7c2ac14bdac6cfec190d6c /accel-pppd/extra/net-snmp/agent.c | |
parent | 918f808ecbe871f6c7ca615f296594e995b08697 (diff) | |
download | accel-ppp-cb4dd7730db546181916ca2510bea6d72a5f26dd.tar.gz accel-ppp-cb4dd7730db546181916ca2510bea6d72a5f26dd.zip |
pppd compat: don't try to rename radattr files if RADIUS isn't used
If accel-ppp is compiled with RADIUS support, but run without using it,
then pd->tmp_fname is NULL. This patch verifies that pd->tmp_fname is
valid before renaming the radattr file.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/extra/net-snmp/agent.c')
0 files changed, 0 insertions, 0 deletions