You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't this be 1 << 7 and not 8? RFC 1035 says this is Bit 7 or the 8th bit that should be set (ie. 1000 0000 is RD). In Python if I write int("10000000", 2), the output is 128 which equals 1 << 7. Does that sound right?
Thanks!
The text was updated successfully, but these errors were encountered:
dns-weekend/part_1.py
Line 47 in 3936c94
Shouldn't this be
1 << 7
and not8
? RFC 1035 says this is Bit 7 or the 8th bit that should be set (ie.1000 0000
isRD
). In Python if I writeint("10000000", 2)
, the output is128
which equals1 << 7
. Does that sound right?Thanks!
The text was updated successfully, but these errors were encountered: