From: Harald Welte Date: Tue, 1 Feb 2005 15:53:07 +0000 (+0000) Subject: fix compiler warning about discarding const X-Git-Tag: v1.3.0-rc1~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=37963e0e357b31b6378cc711a7ca54dad5f7f921;p=thirdparty%2Fiptables.git fix compiler warning about discarding const --- diff --git a/extensions/libipt_CLUSTERIP.c b/extensions/libipt_CLUSTERIP.c index 8b364305..e4ab9187 100644 --- a/extensions/libipt_CLUSTERIP.c +++ b/extensions/libipt_CLUSTERIP.c @@ -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",