diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-06-23 07:39:29 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-06-23 07:39:29 +0200 |
commit | c84c3f459919aa8db2a24c8461aab9e547be961f (patch) | |
tree | 58a71c95096f386f0b043f64cecbd382ec978348 /src/dns.c | |
parent | ca37489b388764b3a8f2d558a9e9a24e3e0d4105 (diff) | |
download | dns-c84c3f459919aa8db2a24c8461aab9e547be961f.tar.gz |
Comments, white space errors
Diffstat (limited to 'src/dns.c')
-rw-r--r-- | src/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) | |