fix buffer settings

pull/1524/head^2
Darien Raymond 6 years ago
parent 8c08ca52eb
commit 200ce404c6
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -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.

Loading…
Cancel
Save