On Sat, Jul 15, 2017 at 09:33:05PM +0800, Hangbin Liu wrote:
> diff --git a/port.c b/port.c
> index 849a7c1..21ab3ea 100644
> --- a/port.c
> +++ b/port.c
> @@ -1512,7 +1512,7 @@ static int port_initialize(struct port *p)
>               if (p->fda.fd[FD_RTNL] == -1)
>                       p->fda.fd[FD_RTNL] = rtnl_open();
>               if (p->fda.fd[FD_RTNL] >= 0)
> -                     rtnl_link_query(p->fda.fd[FD_RTNL]);
> +                     rtnl_link_query(p->fda.fd[FD_RTNL], 0);

This call is in a port specific method.  Can't you already provide the
port's index here?

Thanks,
Richard



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to