<p><b>@miri64</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/11302#discussion_r329030786">sys/include/net/sock/dns.h</a>:</p>
<pre style='color:#555'>>  } sock_dns_hdr_t;
 
+#ifndef __cplusplus
+/**
+ * @brief   DNS internal structure with payload
+ * @extends sock_dns_hdr_t
+ * @details Auxiliary struct that contains a zero-length array as convenience
+ *          pointer to the payload. Only for use in C, invalid in ISO-C++.
+ */
+typedef struct {
+    uint16_t id;        /**< read           */
+    uint16_t flags;     /**< DNS            */
+    uint16_t qdcount;   /**< RFC            */
+    uint16_t ancount;   /**< for            */
+    uint16_t nscount;   /**< detailed       */
+    uint16_t arcount;   /**< explanations   */
+    uint8_t  payload[]; /**< !!             */
</pre>
<p>Lol, I wasn't even thinking about this in <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="426187033" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/11299" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/11299/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/11299">#11299</a> <g-emoji class="g-emoji" alias="sweat_smile" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f605.png">😅</g-emoji></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11302?email_source=notifications&email_token=ABE7WYF4ZOWRLXGXBUJE63TQLXWCNA5CNFSM4HB3J2R2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCGFDE5Y#discussion_r329030786">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYETROCOX5KUGWBQV5TQLXWCNANCNFSM4HB3J2RQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYHGBAISQHU6CK754MTQLXWCNA5CNFSM4HB3J2R2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCGFDE5Y.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11302?email_source=notifications\u0026email_token=ABE7WYF4ZOWRLXGXBUJE63TQLXWCNA5CNFSM4HB3J2R2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCGFDE5Y#discussion_r329030786",
"url": "https://github.com/RIOT-OS/RIOT/pull/11302?email_source=notifications\u0026email_token=ABE7WYF4ZOWRLXGXBUJE63TQLXWCNA5CNFSM4HB3J2R2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCGFDE5Y#discussion_r329030786",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>