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

ipoe: use proper address for L4-redirect

上级 b0d66211
......@@ -414,7 +414,7 @@ static void ipoe_change_l4_redirect(struct ipoe_session *ses, int del)
in_addr_t addr;
if (ses->ses.ipv4)
addr = ses->ses.ipv4->addr;
addr = ses->ses.ipv4->peer_addr;
else
addr = ses->yiaddr;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册