diff options
-rw-r--r-- | toys/other/ifconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/ifconfig.c b/toys/other/ifconfig.c index 2542d791..6dcda835 100644 --- a/toys/other/ifconfig.c +++ b/toys/other/ifconfig.c @@ -88,7 +88,7 @@ int get_addrinfo(char *host, sa_family_t af, void *addr) freeaddrinfo(result); len = -1; - if (slash) len = atolx_range(slash+1, 0, (af == AF_INET) ? 128 : 32); + if (slash) len = atolx_range(slash+1, 0, (af == AF_INET) ? 32 : 128); return len; } |