cmdline: fix prototype of cmdline_tcpv6_listen() in header
authorOlivier Matz <zer0@droids-corp.org>
Sat, 25 Dec 2010 17:47:09 +0000 (18:47 +0100)
committerOlivier Matz <zer0@droids-corp.org>
Sun, 2 Jan 2011 20:53:15 +0000 (21:53 +0100)
Signed-off-by: Olivier Matz <zer0@droids-corp.org>
src/lib/cmdline_socket.h

index 064b27e..3ae2f66 100644 (file)
@@ -64,7 +64,7 @@
 
 #ifdef CMDLINE_HAVE_SOCKET
 int cmdline_tcpv4_listen(in_addr_t addr, uint16_t port);
-int cmdline_tcpv6_listen(uint16_t port);
+int cmdline_tcpv6_listen(struct in6_addr addr6, uint16_t port);
 int cmdline_unix_listen(char *filename);
 struct cmdline *cmdline_accept(cmdline_parse_ctx_t *ctx, const char *prompt, int s);
 #endif