diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-09-04 02:41:36 +0300 |
---|---|---|
committer | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-09-04 02:41:36 +0300 |
commit | 2117fb22a60973e773ccf97c17cd2b48e78f6d76 (patch) | |
tree | 0190049a1bbeff34354ea4f7d4b6f4c548dfeacc /accel-pppd | |
parent | b061e4b770edc2eee4a6df7831068a53e61d185d (diff) | |
download | accel-ppp-2117fb22a60973e773ccf97c17cd2b48e78f6d76.tar.gz accel-ppp-2117fb22a60973e773ccf97c17cd2b48e78f6d76.zip |
T46: Fix per-user-dir logging
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/logs/log_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/logs/log_file.c b/accel-pppd/logs/log_file.c index 42d9f3f..481afa1 100644 --- a/accel-pppd/logs/log_file.c +++ b/accel-pppd/logs/log_file.c @@ -268,7 +268,7 @@ static struct ap_private *find_pd(struct ap_session *ses, void *pd_key) struct list_head *pos, *next; list_for_each_safe(pos, next, &ses->pd_list) { - pd = list_entry(pos->next, typeof(*pd), entry); + pd = list_entry(pos, typeof(*pd), entry); if (pd->key == pd_key) { return pd; } |