Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit 3c6a46f

Browse files
author
Rain Liu
committed
complete UnknownReportBlock
1 parent 9f08373 commit 3c6a46f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/extended_report/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pub mod ssr;
99
pub mod vm;*/
1010
pub mod unknown;
1111

12-
use unknown::UnknownReportBlock;
12+
pub use unknown::UnknownReportBlock;
1313

1414
use crate::error;
1515
use crate::header::{Header, PacketType, HEADER_LENGTH, SSRC_LENGTH};

src/extended_report/unknown.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ impl fmt::Display for UnknownReportBlock {
1616
impl UnknownReportBlock {
1717
pub fn xr_header(&self) -> XRHeader {
1818
XRHeader {
19-
block_type: Default::default(),
19+
block_type: BlockType::Unknown,
2020
type_specific: 0,
2121
block_length: (self.raw_size() / 4 - 1) as u16,
2222
}

0 commit comments

Comments
 (0)