diff options
author | Harald Welte <laforge@gnumonks.org> | 2005-02-01 15:53:07 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2005-02-01 15:53:07 +0000 |
commit | 37963e0e357b31b6378cc711a7ca54dad5f7f921 (patch) | |
tree | b509f7df2771d1d48df378d15b7424ee326a3089 /extensions/libipt_CLUSTERIP.c | |
parent | 58e7285844eacbaa9d7510f4dd6c986b5c649fc8 (diff) |
fix compiler warning about discarding const
Diffstat (limited to 'extensions/libipt_CLUSTERIP.c')
-rw-r--r-- | extensions/libipt_CLUSTERIP.c | 2 |
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", |