Skip to content

Commit 827bb27

Browse files
committed
FIX show Unsupported* as full pattern name
1 parent 57c0fa7 commit 827bb27

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Network/Socket/Options.hsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ getSockOpt s (SockOpt level opt) = do
392392

393393
socketOptionPairs :: [Pair SocketOption String]
394394
socketOptionPairs =
395-
[ (UnsupportedSocketOption, "Unsupported")
395+
[ (UnsupportedSocketOption, "UnsupportedSocketOption")
396396
, (Debug, "Debug")
397397
, (ReuseAddr, "ReuseAddr")
398398
, (SoDomain, "SoDomain")

Network/Socket/Posix/Cmsg.hsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ instance ControlMessage Fd where
231231

232232
cmsgIdPairs :: [Pair CmsgId String]
233233
cmsgIdPairs =
234-
[ (UnsupportedCmsgId, "Unsupported")
234+
[ (UnsupportedCmsgId, "UnsupportedCmsgId")
235235
, (CmsgIdIPv4TTL, "CmsgIdIPv4TTL")
236236
, (CmsgIdIPv6HopLimit, "CmsgIdIPv6HopLimit")
237237
, (CmsgIdIPv4TOS, "CmsgIdIPv4TOS")

Network/Socket/Types.hsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ instance Storable In6Addr where
13181318

13191319
socktypePairs :: [Pair SocketType String]
13201320
socktypePairs =
1321-
[ (UnsupportedSocketType, "Unsupported")
1321+
[ (UnsupportedSocketType, "UnsupportedSocketType")
13221322
, (Stream, "Stream")
13231323
, (Datagram, "Datagram")
13241324
, (Raw, "Raw")

Network/Socket/Win32/Cmsg.hsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ instance Storable IPv6PktInfo where
189189

190190
cmsgIdPairs :: [Pair CmsgId String]
191191
cmsgIdPairs =
192-
[ (UnsupportedCmsgId, "Unsupported")
192+
[ (UnsupportedCmsgId, "UnsupportedCmsgId")
193193
, (CmsgIdIPv4TTL, "CmsgIdIPv4TTL")
194194
, (CmsgIdIPv6HopLimit, "CmsgIdIPv6HopLimit")
195195
, (CmsgIdIPv4TOS, "CmsgIdIPv4TOS")

0 commit comments

Comments
 (0)