]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
dhcp: fix url in comment 6635/head
authorJason Ish <jason.ish@oisf.net>
Wed, 17 Nov 2021 01:34:11 +0000 (19:34 -0600)
committerJason Ish <jason.ish@oisf.net>
Mon, 22 Nov 2021 22:13:05 +0000 (16:13 -0600)
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.

(cherry picked from commit eb6cc6293717e10f881edd6713fb8dc6ef78d3b7)

rust/src/dhcp/dhcp.rs

index 442ccecd71171ee9b916438775d637b6d41a6240..540c79976f915312c5b8769f204683b2610e4345 100644 (file)
@@ -57,8 +57,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;