]> git.ipfire.org Git - people/ms/suricata.git/commitdiff
dhcp: fix url in comment
authorJason Ish <jason.ish@oisf.net>
Wed, 17 Nov 2021 01:34:11 +0000 (19:34 -0600)
committerVictor Julien <vjulien@oisf.net>
Mon, 22 Nov 2021 09:24:05 +0000 (10:24 +0100)
rustdoc was complaining about the format of the URL in a comment
while trying to generate documentation. Convert the comment to a
non-rustdoc comment for now to satisfy rustdoc.

rust/src/dhcp/dhcp.rs

index abbca1a2a8c4a0a922c64f18bb8ea4d921d6ab81..9fd1878b23f9202d2d7d0c0361c2b71ce2a1034f 100644 (file)
@@ -56,8 +56,8 @@ pub const DHCP_TYPE_NAK: u8 = 6;
 pub const DHCP_TYPE_RELEASE: u8 = 7;
 pub const DHCP_TYPE_INFORM: u8 = 8;
 
-/// DHCP parameter types.
-/// https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.txt
+// DHCP parameter types.
+// https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.txt
 pub const DHCP_PARAM_SUBNET_MASK: u8 = 1;
 pub const DHCP_PARAM_ROUTER: u8 = 3;
 pub const DHCP_PARAM_DNS_SERVER: u8 = 6;