|
|
|
|
@ -157,9 +157,7 @@ impl SIPState {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn parse_request_tcp(
|
|
|
|
|
&mut self, flow: *mut Flow, stream_slice: StreamSlice,
|
|
|
|
|
) -> AppLayerResult {
|
|
|
|
|
fn parse_request_tcp(&mut self, flow: *mut Flow, stream_slice: StreamSlice) -> AppLayerResult {
|
|
|
|
|
let input = stream_slice.as_slice();
|
|
|
|
|
if input.is_empty() {
|
|
|
|
|
return AppLayerResult::ok();
|
|
|
|
|
@ -256,9 +254,7 @@ impl SIPState {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn parse_response_tcp(
|
|
|
|
|
&mut self, flow: *mut Flow, stream_slice: StreamSlice,
|
|
|
|
|
) -> AppLayerResult {
|
|
|
|
|
fn parse_response_tcp(&mut self, flow: *mut Flow, stream_slice: StreamSlice) -> AppLayerResult {
|
|
|
|
|
let input = stream_slice.as_slice();
|
|
|
|
|
if input.is_empty() {
|
|
|
|
|
return AppLayerResult::ok();
|
|
|
|
|
|