Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 56cff471 authored by Gao Feng's avatar Gao Feng Committed by David S. Miller
Browse files

l2tp: Fix the connect status check in pppol2tp_getname



The sk->sk_state is bits flag, so need use bit operation check
instead of value check.

Signed-off-by: default avatarGao Feng <fgao@ikuai8.com>
Tested-by: default avatarGuillaume Nault <g.nault@alphalink.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4c2f2454
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment