summaryrefslogtreecommitdiff
path: root/accel-pppd/extra/net-snmp/agent.c
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2014-04-11 19:46:16 +0200
committerDmitry Kozlov <xeb@mail.ru>2014-04-14 17:03:01 +0400
commitcb4dd7730db546181916ca2510bea6d72a5f26dd (patch)
tree6f0cdf45a4c4b4e63d7c2ac14bdac6cfec190d6c /accel-pppd/extra/net-snmp/agent.c
parent918f808ecbe871f6c7ca615f296594e995b08697 (diff)
downloadaccel-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