8cf965
diff -up linuxptp-2.0/util.c.addreq linuxptp-2.0/util.c
8cf965
--- linuxptp-2.0/util.c.addreq	2019-03-25 11:43:55.878146767 +0100
8cf965
+++ linuxptp-2.0/util.c	2019-03-25 11:44:38.215244483 +0100
8cf965
@@ -78,7 +78,7 @@ int addreq(enum transport_type type, str
8cf965
 	case TRANS_UDP_IPV4:
8cf965
 		bufa = &a->sin.sin_addr;
8cf965
 		bufb = &b->sin.sin_addr;
8cf965
-		len = sizeof(a->sin);
8cf965
+		len = sizeof(a->sin.sin_addr);
8cf965
 		break;
8cf965
 	case TRANS_IEEE_802_3:
8cf965
 		bufa = &a->sll.sll_addr;