summaryrefslogtreecommitdiff
path: root/lib/prefix.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-08-22 08:36:59 -0400
committerMark Stapp <mjs@voltanet.io>2019-08-23 10:09:38 -0400
commita9e08ebce1afaa9b509024d116eeccc7ab6a479b (patch)
tree9000edcd58153d4f1524eaa5d7280865f2d8c2eb /lib/prefix.h
parentf2412b2d19afa719e9379278dcd1d96b03eddff4 (diff)
lib: use const in prefix_mac2str
Use const for mac pointer. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/prefix.h')
-rw-r--r--lib/prefix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prefix.h b/lib/prefix.h
index e338140f1a..24c146e022 100644
--- a/lib/prefix.h
+++ b/lib/prefix.h
@@ -470,7 +470,7 @@ extern void masklen2ip6(const int, struct in6_addr *);
extern const char *inet6_ntoa(struct in6_addr);
-extern int is_zero_mac(struct ethaddr *mac);
+extern int is_zero_mac(const struct ethaddr *mac);
extern int prefix_str2mac(const char *str, struct ethaddr *mac);
extern char *prefix_mac2str(const struct ethaddr *mac, char *buf, int size);