]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
make Hostname as const
authorAaron Lipinski <aaron.lipinski@roboticsplus.co.nz>
Wed, 7 Apr 2021 01:15:05 +0000 (13:15 +1200)
committerAaron Lipinski <aaron.lipinski@roboticsplus.co.nz>
Thu, 8 Apr 2021 20:36:25 +0000 (08:36 +1200)
ui/mtr.h

index 5de5d9fd0248eb776d2c94755335a89cbb3db45b..46c7a18a5ef56c1d21a080bc3b867242661f52e6 100644 (file)
--- a/ui/mtr.h
+++ b/ui/mtr.h
@@ -85,7 +85,7 @@ struct mtr_ctl {
     int MaxPing;
     float WaitTime;
     float GraceTime;
-    char *Hostname;
+    const char *Hostname;
     char *InterfaceName;
     char *InterfaceAddress;
     char LocalHostname[128];