Skip to content

Commit 5f3706f

Browse files
committed
Using Int in IPv4PktInfo.
1 parent 5676bc9 commit 5f3706f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Network/Socket/Posix/Cmsg.hsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ instance ControlMessage IPv6TClass where
142142
----------------------------------------------------------------
143143

144144
-- | Network interface ID and local IPv4 address.
145-
data IPv4PktInfo = IPv4PktInfo CInt HostAddress deriving (Eq)
145+
data IPv4PktInfo = IPv4PktInfo Int HostAddress deriving (Eq)
146146

147147
instance Show IPv4PktInfo where
148148
show (IPv4PktInfo n ha) = "IPv4PktInfo " ++ show n ++ " " ++ show (hostAddressToTuple ha)

0 commit comments

Comments
 (0)