diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ipaddr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ipaddr.h b/lib/ipaddr.h index 1c2399fdd..ec08fc09a 100644 --- a/lib/ipaddr.h +++ b/lib/ipaddr.h @@ -81,7 +81,7 @@ static inline int str2ipaddr(const char *str, struct ipaddr *ip) return -1; } -static inline char *ipaddr2str(struct ipaddr *ip, char *buf, int size) +static inline char *ipaddr2str(const struct ipaddr *ip, char *buf, int size) { buf[0] = '\0'; if (ip) { |