#REFACTORING
authorClaus Gittinger <cg@exept.de>
Wed, 23 Mar 2016 14:33:08 +0100
changeset 3771 bb14e511c3d1
parent 3770 838c61a7ea06
child 3772 ea7a85e2bb8f
#REFACTORING class: IPv6SocketAddress changed: #flowInfo #scopeId
IPv6SocketAddress.st
--- 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'!