l2tp: use separate function for handling tunnel specific messages
Remove message type switch from l2tp_conn_read(). Define
l2tp_tunnel_recv() instead to handle tunnel specific messages.
The Session ID field in L2TP control messages is used to determine if
packet is tunnel or session oriented.
Signed-off-by: NGuillaume Nault <g.nault@alphalink.fr>
Showing
想要评论请 注册 或 登录