diff options
author | mjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-03-10 07:42:38 +0000 |
---|---|---|
committer | mjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-03-10 07:42:38 +0000 |
commit | a018d67b84e6ba59076e24b631298f9849a4b4ca (patch) | |
tree | d19379419a02c8f77fc864db6b08450f016264dc /libbb | |
parent | 47035f71a275d0a6bdbebb3afd0d5ecd7e805866 (diff) | |
download | busybox-w32-a018d67b84e6ba59076e24b631298f9849a4b4ca.tar.gz busybox-w32-a018d67b84e6ba59076e24b631298f9849a4b4ca.tar.bz2 busybox-w32-a018d67b84e6ba59076e24b631298f9849a4b4ca.zip |
In spite of the feature freeze, check in a complete rework of route which
fixes some bugs, adds some error checking, and removes _lots_ of bloat.
Text size on i386...
old new
ipv6 5425 3523
no ipv6 3143 2193
git-svn-id: svn://busybox.net/trunk/busybox@8607 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/inet_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/inet_common.c b/libbb/inet_common.c index 8b0ec8a0b..321322d1f 100644 --- a/libbb/inet_common.c +++ b/libbb/inet_common.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Heavily modified by Manuel Novoa III Mar 12, 2001 | 5 | * Heavily modified by Manuel Novoa III Mar 12, 2001 |
6 | * | 6 | * |
7 | * Version: $Id: inet_common.c,v 1.7 2003/07/14 21:20:55 andersen Exp $ | 7 | * Version: $Id: inet_common.c,v 1.8 2004/03/10 07:42:38 mjn3 Exp $ |
8 | * | 8 | * |
9 | */ | 9 | */ |
10 | 10 | ||
@@ -186,7 +186,7 @@ int INET_rresolve(char *name, size_t len, struct sockaddr_in *s_in, | |||
186 | 186 | ||
187 | #ifdef CONFIG_FEATURE_IPV6 | 187 | #ifdef CONFIG_FEATURE_IPV6 |
188 | 188 | ||
189 | int INET6_resolve(char *name, struct sockaddr_in6 *sin6) | 189 | int INET6_resolve(const char *name, struct sockaddr_in6 *sin6) |
190 | { | 190 | { |
191 | struct addrinfo req, *ai; | 191 | struct addrinfo req, *ai; |
192 | int s; | 192 | int s; |