提交 0fad26e2 编写于 作者: D DmitriyEshenko

ipoe: fix start=up not work if set not per-interface

上级 6538ee32
......@@ -2910,15 +2910,15 @@ static void add_interface(const char *ifname, int ifindex, const char *opt, int
}
}
if (!opt_arp && opt_up && opt_mode == MODE_L2)
opt_arp = 1;
if (!opt_up && !opt_dhcpv4 && !opt_auto) {
opt_up = conf_up;
opt_dhcpv4 = conf_dhcpv4;
opt_auto = conf_auto;
}
if (!opt_arp && opt_up && opt_mode == MODE_L2)
opt_arp = 1;
opt_auto &= !opt_shared;
if (opt_relay && !opt_giaddr && opt_dhcpv4) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册