summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/l2tp/l2tp.c
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2013-02-06 17:29:11 +0100
committerKozlov Dmitry <xeb@mail.ru>2013-02-06 21:09:01 +0400
commita068ff609288b61f86b37b02f06755f84c5aaca7 (patch)
tree30357f8b926c01ceda91ff9564bf67d63c88fad1 /accel-pppd/ctrl/l2tp/l2tp.c
parent3565aac70d801a08b82aa3b4ed268b3470488d57 (diff)
downloadaccel-ppp-xebd-a068ff609288b61f86b37b02f06755f84c5aaca7.tar.gz
accel-ppp-xebd-a068ff609288b61f86b37b02f06755f84c5aaca7.zip
utils: Add function for strict str to int conversion
Define the u_readlong() function as a wrapper for strtol(). It performs stricter checks on the input value and let the caller specify an interval of acceptable values. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/ctrl/l2tp/l2tp.c')
0 files changed, 0 insertions, 0 deletions