From: Aaron Lipinski Date: Wed, 7 Apr 2021 01:15:05 +0000 (+1200) Subject: make Hostname as const X-Git-Tag: v0.95~6^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a351f650537e09f93738e3c76c06ebfa51552561;p=thirdparty%2Fmtr.git make Hostname as const --- diff --git a/ui/mtr.h b/ui/mtr.h index 5de5d9f..46c7a18 100644 --- 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];