]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
Use a uint32 for the type of a Linux mark
authorflu0r1ne <flu0r1ne@flu0r1ne.net>
Wed, 4 Oct 2023 03:13:00 +0000 (22:13 -0500)
committerflu0r1ne <flu0r1ne@flu0r1ne.net>
Wed, 4 Oct 2023 03:13:00 +0000 (22:13 -0500)
It is typical to store and manipulate Linux packet marks using unsigned values.

packet/probe.h

index caf1314b48918875b71c9712f60c7ae11899afc0..5a5dc3af0acdeac7e6eaef0f02aa9bda75450711 100644 (file)
@@ -69,7 +69,7 @@ struct probe_param_t {
     int type_of_service;
 
     /*  The packet "mark" used for mark-based routing on Linux  */
-    int routing_mark;
+    uint32_t routing_mark;
 
     /*  Time to live for the transmitted probe  */
     int ttl;