From 06f82c717fbf8399ecd55d14e319afc6f0a0360a Mon Sep 17 00:00:00 2001 From: Litr0 Date: Fri, 6 Oct 2023 16:17:17 -0300 Subject: [PATCH] fix: add definition of flags in message header --- src/message/header.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/message/header.rs b/src/message/header.rs index 245e4abe..1cddf49c 100644 --- a/src/message/header.rs +++ b/src/message/header.rs @@ -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)]