提交 9e995c9a 编写于 作者: S Stefan Berger 提交者: Stefan Berger

nwfilter: loop generated too many rules

The loop processing the trusted DHCP server generated one too
many rules and added one final rules that accepted responses
from all DHCP servers. Below patch fixes this.
上级 1497e36d
......@@ -3374,10 +3374,10 @@ ebtablesApplyDHCPOnlyRules(const char *ifname,
VIR_FREE(srcIPParam);
if (idx == num_dhcpsrvrs)
break;
idx++;
if (idx >= num_dhcpsrvrs)
break;
}
virBufferAsprintf(&buf,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册