fix buffer settings

This commit is contained in:
Darien Raymond
2018-07-31 16:46:37 +02:00
parent 8c08ca52eb
commit 200ce404c6
+5
View File
@@ -53,6 +53,11 @@ func (p *Policy) overrideWith(another *Policy) {
p.Stats = new(Policy_Stats)
*p.Stats = *another.Stats
}
if another.Buffer != nil {
p.Buffer = &Policy_Buffer{
Connection: another.Buffer.Connection,
}
}
}
// ToCorePolicy converts this Policy to core.Policy.