提交 f4335fb7 编写于 作者: D Dmitry Kozlov

ipoe: add missing local IP address assignment

Signed-off-by: NDmitry Kozlov <xeb@mail.ru>
上级 49129b17
......@@ -622,6 +622,9 @@ static void __ipoe_session_start(struct ipoe_session *ses)
return;
}
if (ses->ses.ipv4 && !ses->ses.ipv4->addr)
ses->ses.ipv4->addr = ses->siaddr;
if (!ses->router)
ses->router = ses->siaddr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册