diff options
Diffstat (limited to 'lib/ip.c')
-rw-r--r-- | lib/ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -245,7 +245,7 @@ ip4_pton(const char *a, ip4_addr *o) char *d, *c = strchr(a, '.'); if (!c != !i) return 0; - l = strtoul(a, &d, 10); + l = bstrtoul(a, &d, 10); if (((d != c) && *d) || (l > 255)) return 0; ia = (ia << 8) | l; |