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

ipoe: make ipv4 address visible for other modules

上级 5d158d9b
......@@ -581,6 +581,12 @@ static void __ipoe_session_activate(struct ipoe_session *ses)
if (ses->terminating)
return;
if (!ses->ses.ipv4) {
ses->ses.ipv4 = &ses->ipv4;
ses->ipv4.owner = NULL;
ses->ipv4.peer_addr = ses->yiaddr;
}
if (ses->ifindex != -1) {
addr = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册