@@ -637,9 +637,7 @@ impl DNSState {
637637 }
638638 }
639639
640- pub ( crate ) fn parse_request_udp (
641- & mut self , flow : * mut Flow , stream_slice : StreamSlice ,
642- ) -> bool {
640+ pub ( crate ) fn parse_request_udp ( & mut self , flow : * mut Flow , stream_slice : StreamSlice ) -> bool {
643641 let input = stream_slice. as_slice ( ) ;
644642 let frame = Frame :: new (
645643 flow,
@@ -701,9 +699,7 @@ impl DNSState {
701699 /// prefix.
702700 ///
703701 /// Returns the number of messages parsed.
704- fn parse_request_tcp (
705- & mut self , flow : * mut Flow , stream_slice : StreamSlice ,
706- ) -> AppLayerResult {
702+ fn parse_request_tcp ( & mut self , flow : * mut Flow , stream_slice : StreamSlice ) -> AppLayerResult {
707703 let input = stream_slice. as_slice ( ) ;
708704 if self . gap {
709705 let ( is_dns, _, is_incomplete) = probe_tcp ( input) ;
@@ -765,9 +761,7 @@ impl DNSState {
765761 /// prefix.
766762 ///
767763 /// Returns the number of messages parsed.
768- fn parse_response_tcp (
769- & mut self , flow : * mut Flow , stream_slice : StreamSlice ,
770- ) -> AppLayerResult {
764+ fn parse_response_tcp ( & mut self , flow : * mut Flow , stream_slice : StreamSlice ) -> AppLayerResult {
771765 let input = stream_slice. as_slice ( ) ;
772766 if self . gap {
773767 let ( is_dns, _, is_incomplete) = probe_tcp ( input) ;
0 commit comments