IPv6SocketAddress.st
changeset 3771 bb14e511c3d1
parent 3754 94f21d3b2586
child 3984 4816610d2f76
--- a/IPv6SocketAddress.st	Wed Mar 23 14:32:15 2016 +0100
+++ b/IPv6SocketAddress.st	Wed Mar 23 14:33:08 2016 +0100
@@ -189,7 +189,7 @@
 "/  8           struct in6_addr         sin6_addr;      /* IPv6 address */
 "/ 24            __u32                   sin6_scope_id;  /* scope id (new in RFC2553) */
 "/ 28   };
-    ^ self unsignedLongAt:5 bigEndian:false.
+    ^ self unsignedInt32At:4+1 MSB:false.
 !
 
 hostAddress
@@ -215,7 +215,7 @@
 "/  8           struct in6_addr         sin6_addr;      /* IPv6 address */
 "/ 24            __u32                   sin6_scope_id;  /* scope id (new in RFC2553) */
 "/ 28   };
-    ^ self unsignedLongAt:25 bigEndian:false.
+    ^ self unsignedInt32At:24+1 MSB:false.
 ! !
 
 !IPv6SocketAddress methodsFor:'comparing'!