提交 00c02647 编写于 作者: K Kozlov Dmitry

Revert "ipoe: assign giaddr to interface only if mode=L3"

This reverts commit 2b9c6812.
上级 2b9c6812
......@@ -1369,7 +1369,7 @@ static void add_interface(const char *ifname, int ifindex, const char *opt)
}
if (serv->opt_dhcpv4 && opt_relay && opt_giaddr) {
if (opt_ifcfg && opt_mode == MODE_L3)
if (opt_ifcfg)
ipoe_serv_add_addr(serv, giaddr);
serv->dhcpv4_relay = dhcpv4_relay_create(opt_relay, opt_giaddr, &serv->ctx, (triton_event_func)ipoe_recv_dhcpv4_relay);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册