summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2005-02-01 15:53:07 +0000
committerHarald Welte <laforge@gnumonks.org>2005-02-01 15:53:07 +0000
commit37963e0e357b31b6378cc711a7ca54dad5f7f921 (patch)
treeb509f7df2771d1d48df378d15b7424ee326a3089
parent58e7285844eacbaa9d7510f4dd6c986b5c649fc8 (diff)
fix compiler warning about discarding const
-rw-r--r--extensions/libipt_CLUSTERIP.c2
1 files changed, 1 insertions, 1 deletions
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",