summaryrefslogtreecommitdiff
path: root/pppstats
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-12-31 05:30:58 +0100
committerGitHub <noreply@github.com>2020-12-31 15:30:58 +1100
commit5930c1c1d35dc1e7cce2987f2b11a9d5a4bf1551 (patch)
tree5bc40af862cdf196776b2fdaad5fe7aa2c82e0e2 /pppstats
parent05bcf644849fd9fb77bf682c996e568ee9ad3a47 (diff)
downloadppp-5930c1c1d35dc1e7cce2987f2b11a9d5a4bf1551.tar.gz
pppd: Make sure that the linkpidfile is always created (#185)
From https://bugs.debian.org/284382 When pppd detaches from the parent normally, that is, without nodetach or updetach set, the linkpidfile is not created even when linkname is set. This is because the create_linkpidfile call in detach() is only made if the linkpidfile is filled in. However, linkpidfile is never filled in until create_linkpidfile has been called. IMHO the call should be made uncondtionally in detach() since create_linkpidfile does its own check on linkname anyway. Please note that the version of pppd in woody always wrote the linkpidfile after detaching. It did so in main() however. That call has now been removed which is why I'm seeing this problem. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Co-authored-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'pppstats')
0 files changed, 0 insertions, 0 deletions