On Fri, Apr 13, 2018 at 05:11:59PM +0200, Miroslav Lichvar wrote:
> @@ -1148,6 +1148,8 @@ static int auto_init_ports(struct node *node, int
> add_rt)
> char iface[IFNAMSIZ];
>
> while (1) {
> + if (!is_running())
> + return -1;
Why not this?
while (is_running()) {
...
}
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel