From 5fcd19842c1f049fb992fe26f7fe7815f07e5299 Mon Sep 17 00:00:00 2001 From: Terts Diepraam Date: Tue, 15 Apr 2025 12:33:21 +0200 Subject: [PATCH] change match_ends_data to match_edns_data --- src/stelline/matches.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/stelline/matches.rs b/src/stelline/matches.rs index 48fa36ff..5015ae19 100644 --- a/src/stelline/matches.rs +++ b/src/stelline/matches.rs @@ -50,7 +50,7 @@ impl Entry { msg: &Message, ) -> Result<(), DidNotMatch> { self.match_flags(msg)?; - self.match_ends_data(msg)?; + self.match_edns_data(msg)?; self.match_opcode(msg)?; self.match_question(msg)?; self.match_rcode(msg)?; @@ -80,7 +80,7 @@ impl Entry { } /// Match the ENDS data in the OPT record - fn match_ends_data( + fn match_edns_data( &self, msg: &Message, ) -> Result<(), DidNotMatch> { @@ -419,7 +419,7 @@ impl OrderedMultiMatcher<'_> { let e = &self.entry; e.match_flags(msg)?; - e.match_ends_data(msg)?; + e.match_edns_data(msg)?; e.match_opcode(msg)?; e.match_question(msg)?; e.match_rcode(msg)?; @@ -466,7 +466,7 @@ impl UnorderedMultiMatcher<'_> { let e = &self.entry; e.match_flags(msg)?; - e.match_ends_data(msg)?; + e.match_edns_data(msg)?; e.match_opcode(msg)?; e.match_question(msg)?; e.match_rcode(msg)?;