Commit 656b8f01 authored by Alessandro Rubini's avatar Alessandro Rubini

trivial: bmc: master_only can be used in proto-standard

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 7f9f8d69
......@@ -242,6 +242,11 @@ UInteger8 bmc_state_decision( struct pp_instance *ppi,
{
int cmpres;
if (OPTS(ppi)->master_only) {
m1(ppi);
return PPS_MASTER;
}
if (OPTS(ppi)->slave_only) {
s1(ppi, hdr, ann);
return PPS_SLAVE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment