On Wed, 2018-10-10 at 11:01 +0000, Anders Selhammer wrote: > Correction of fault introduced in "Add BMCA config option." > > Signed-off-by: Anders Selhammer <anders.selham...@est.tech> Sorry I missed this in my patches. Thanks for fixing it.
Reviewed-by: Vedang Patel <vedang.pa...@intel.com> > --- > port.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/port.c b/port.c > index 3e61179..142b970 100644 > --- a/port.c > +++ b/port.c > @@ -2901,8 +2901,8 @@ struct port *port_open(int phc_index, > p->phc_index = phc_index; > p->jbod = config_get_int(cfg, interface->name, > "boundary_clock_jbod"); > transport = config_get_int(cfg, interface->name, > "network_transport"); > - p->master_only = config_get_int(cfg, p->name, "masterOnly"); > - p->bmca = config_get_int(cfg, p->name, "BMCA"); > + p->master_only = config_get_int(cfg, interface->name, > "masterOnly"); > + p->bmca = config_get_int(cfg, interface->name, "BMCA"); > > if (p->bmca == BMCA_NOOP && transport != TRANS_UDS) { > if (p->master_only) { _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel