diff --git a/sys/include/net/ipv4/addr.h b/sys/include/net/ipv4/addr.h index 858e926078..76222e4e47 100644 --- a/sys/include/net/ipv4/addr.h +++ b/sys/include/net/ipv4/addr.h @@ -52,7 +52,7 @@ typedef union { * @return true, if @p a and @p b are equal * @return false, otherwise. */ -static inline bool ipv4_addr_equal(ipv4_addr_t *a, ipv4_addr_t *b) +static inline bool ipv4_addr_equal(const ipv4_addr_t *a, const ipv4_addr_t *b) { return (a->u32.u32 == b->u32.u32); }