]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
fix compiler warning about discarding const
authorHarald Welte <laforge@gnumonks.org>
Tue, 1 Feb 2005 15:53:07 +0000 (15:53 +0000)
committerHarald Welte <laforge@gnumonks.org>
Tue, 1 Feb 2005 15:53:07 +0000 (15:53 +0000)
extensions/libipt_CLUSTERIP.c

index 8b36430570b3eb00749580ad479d6af1b4cc9b82..e4ab918779c4e2a6a88b42b0ded092fb83ff00f9 100644 (file)
@@ -182,7 +182,7 @@ static char *hashmode2str(enum clusterip_hashmode mode)
        return retstr;
 }
 
-static char *mac2str(u_int8_t mac[ETH_ALEN])
+static char *mac2str(const u_int8_t mac[ETH_ALEN])
 {
        static char buf[ETH_ALEN*3];
        sprintf(buf, "%02X:%02X:%02X:%02X:%02X:%02X",