Brian Olson
2017-06-15 16:16:43 UTC
Miroslav Lichvar suggested that I submit these changes to linuxptp-devel.
This is a couple of changes we were discussing on linuxptp-users.
The first avoids having phc2sys end up synching off by 2 seconds when using linreg on RHEL 6.6. The second just avoids some compile errors:
In file included from rtnl.c:21:
/usr/include/linux/netlink.h:35: error: expected specifier-qualifier-list before âsa_family_tâ
rtnl.c: In function ârtnl_link_queryâ:
rtnl.c:59: error: âstruct sockaddr_nlâ has no member named ânl_familyâ
rtnl.c: In function ârtnl_openâ:
rtnl.c:154: error: âstruct sockaddr_nlâ has no member named ânl_familyâ
rtnl.c:155: error: âstruct sockaddr_nlâ has no member named ânl_groupsâ
make: *** [rtnl.o] Error 1
This is a couple of changes we were discussing on linuxptp-users.
The first avoids having phc2sys end up synching off by 2 seconds when using linreg on RHEL 6.6. The second just avoids some compile errors:
In file included from rtnl.c:21:
/usr/include/linux/netlink.h:35: error: expected specifier-qualifier-list before âsa_family_tâ
rtnl.c: In function ârtnl_link_queryâ:
rtnl.c:59: error: âstruct sockaddr_nlâ has no member named ânl_familyâ
rtnl.c: In function ârtnl_openâ:
rtnl.c:154: error: âstruct sockaddr_nlâ has no member named ânl_familyâ
rtnl.c:155: error: âstruct sockaddr_nlâ has no member named ânl_groupsâ
make: *** [rtnl.o] Error 1