diff options
author | Maria Matejka <mq@ucw.cz> | 2019-06-13 14:27:58 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2019-06-13 14:27:58 +0200 |
commit | 5c864e2cfaf5ff5e8e3db3ccd746162fbc7aac5b (patch) | |
tree | 01fbbd6cd1a7122fcdca1a38c48d6e854763ad9d /lib/ip.c | |
parent | 87c82334a77dfa3fea3057fa6d4bcf8558f203a4 (diff) |
String: bstrtoul macro expanded to bstrtoul10 and 16
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 = bstrtoul(a, &d, 10); + l = bstrtoul10(a, &d); if (((d != c) && *d) || (l > 255)) return 0; ia = (ia << 8) | l; |