From 37963e0e357b31b6378cc711a7ca54dad5f7f921 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 1 Feb 2005 15:53:07 +0000 Subject: fix compiler warning about discarding const --- extensions/libipt_CLUSTERIP.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions') 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", -- cgit v1.2.3