aboutsummaryrefslogtreecommitdiff
path: root/src/dns.c
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-06-23 07:39:29 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-06-23 07:39:29 +0200
commitc84c3f459919aa8db2a24c8461aab9e547be961f (patch)
tree58a71c95096f386f0b043f64cecbd382ec978348 /src/dns.c
parentca37489b388764b3a8f2d558a9e9a24e3e0d4105 (diff)
downloaddns-c84c3f459919aa8db2a24c8461aab9e547be961f.tar.gz
Comments, white space errors
Diffstat (limited to 'src/dns.c')
-rw-r--r--src/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.c b/src/dns.c
index 14f84ea..2bf6add 100644
--- a/src/dns.c
+++ b/src/dns.c
@@ -11,7 +11,7 @@ int dns_construct_header ( struct dns_header* _header, char* _buffer, int _buffl
return -1;
*((uint16_t*)_buffer) = _header->id; //Since only copied, no flipping necessary
- _buffer[2] =
+ _buffer[2] =
((_header->QR & 0x01) << 7) |
((_header->OPCODE & 0x0F) << 3) |
((_header->AA & 0x01) << 2) |