Skip to content

Commit

Permalink
Fix cargo-doc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
chifflier committed Jul 30, 2024
1 parent adab6b3 commit 8d70333
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libpcap-analyzer/src/plugins/community_id.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! Plugin to build Community ID Flow Hash
//! See https://github.com/corelight/community-id-spec
//! See <https://github.com/corelight/community-id-spec>

use crate::output;
use crate::plugin_registry::PluginRegistry;
Expand Down
6 changes: 3 additions & 3 deletions libpcap-analyzer/src/ppp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ pub struct PppProtocolType(pub u16);

/// PPP DLL Protocol Number
///
/// See https://www.iana.org/assignments/ppp-numbers/ppp-numbers.xhtml#ppp-numbers-2
/// See <https://www.iana.org/assignments/ppp-numbers/ppp-numbers.xhtml#ppp-numbers-2>
#[allow(non_snake_case)]
#[allow(non_upper_case_globals)]
pub mod PppProtocolTypes {
use crate::ppp::PppProtocolType;
/// Internet Protocol version 4 (IPv4) [RFC1332].
/// Internet Protocol version 4 (IPv4) \[RFC1332\].
pub const Ipv4: PppProtocolType = PppProtocolType(0x0021);
/// Internet Protocol version 6 (IPv6) [RFC5072].
/// Internet Protocol version 6 (IPv6) \[RFC5072\].
pub const Ipv6: PppProtocolType = PppProtocolType(0x0057);
}

Expand Down

0 comments on commit 8d70333

Please sign in to comment.