This was broken in commit e804e6, ifa_addr is a pointer to sockaddr, it shouldn't be referenced for the memcpy call. --- sk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sk.c b/sk.c index 838004e..f694bbd 100644 --- a/sk.c +++ b/sk.c @@ -198,7 +198,7 @@ int sk_interface_addr(const char *name, int family, struct address *addr) default: continue; } - memcpy(&addr->sa, &i->ifa_addr, addr->len); + memcpy(&addr->sa, i->ifa_addr, addr->len); result = 0; break; } -- 1.9.0 ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel