Skip to content

Commit

Permalink
fix: add definition of flags in message header
Browse files Browse the repository at this point in the history
  • Loading branch information
Litr0 committed Oct 6, 2023
1 parent 0e7ebbd commit 06f82c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/message/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ pub struct Header {
/// Operation code
op_code: u8,

/// Flags TODO: escribir significado
aa: bool,
tc: bool,
rd: bool,
ra: bool,
/// Flags
aa: bool, // Authoritative Answer
tc: bool, // TrunCation
rd: bool, // Recursion Desired
ra: bool, // Recursion Available

/// Reserved
#[allow(dead_code)]
Expand Down

0 comments on commit 06f82c7

Please sign in to comment.