summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorManuel Novoa III2004-03-10 07:42:38 +0000
committerManuel Novoa III2004-03-10 07:42:38 +0000
commit7d0c51919ce4d0be00fd8ae92d6f16b86aad9fd2 (patch)
treed19379419a02c8f77fc864db6b08450f016264dc /libbb
parent2715fa147a36662b59b58b78ff31e225e785fef9 (diff)
downloadbusybox-7d0c51919ce4d0be00fd8ae92d6f16b86aad9fd2.zip
busybox-7d0c51919ce4d0be00fd8ae92d6f16b86aad9fd2.tar.gz
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
Diffstat (limited to 'libbb')
-rw-r--r--libbb/inet_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/inet_common.c b/libbb/inet_common.c
index 8b0ec8a..321322d 100644
--- a/libbb/inet_common.c
+++ b/libbb/inet_common.c
@@ -4,7 +4,7 @@
*
* Heavily modified by Manuel Novoa III Mar 12, 2001
*
- * Version: $Id: inet_common.c,v 1.7 2003/07/14 21:20:55 andersen Exp $
+ * Version: $Id: inet_common.c,v 1.8 2004/03/10 07:42:38 mjn3 Exp $
*
*/
@@ -186,7 +186,7 @@ int INET_rresolve(char *name, size_t len, struct sockaddr_in *s_in,
#ifdef CONFIG_FEATURE_IPV6
-int INET6_resolve(char *name, struct sockaddr_in6 *sin6)
+int INET6_resolve(const char *name, struct sockaddr_in6 *sin6)
{
struct addrinfo req, *ai;
int s;