Skip to content

Commit 086da57

Browse files
committed
fix #4; regression introduced by nim-lang/Nim#24640
1 parent d2abbe7 commit 086da57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dnsprotocol/rdatatypes.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ type
9999

100100
# RDatas specified in RFC-8659 (https://tools.ietf.org/html/rfc8659)
101101

102-
CAAFlags* {.size: 1.} = object # /!\ I need to review! /!\ bitsize is buggy with mm refc and async
102+
CAAFlags* = object # /!\ I need to review! /!\ bitsize is buggy with mm refc and async
103103
when system.cpuEndian == bigEndian:
104104
issuerCritical* {.bitsize:1.}: bool ## Issuer Critical Flag: If the value is set to "1", the Property is critical. A CA MUST NOT issue certificates for any FQDN if the Relevant RRset for that FQDN contains a CAA critical Property for an unknown or unsupported Property Tag.
105105
reserved* {.bitsize:7.}: uint8 ## Reserved for future use.

src/dnsprotocol/types.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ type
114114
rcode*: RCode ## Response code - this 4 bit field is set as part of responses.
115115

116116
#[ https://github.com/nim-lang/Nim/issues/16313
117-
Flags* {.size: 2.} = object
117+
Flags* = object
118118
when system.cpuEndian == bigEndian:
119119
qr* {.bitsize:1.}: QR ## A one bit field that specifies whether this message is a query (0), or a response (1).
120120
opcode* {.bitsize:4.}: OpCode ## A four bit field that specifies kind of query in this message. This value is set by the originator of a query and copied into the response.

0 commit comments

Comments
 (0)