Updated API for uiplib and resolv to use uip_ipaddr_t instead of uint16_t for compability with IPv6
This commit is contained in:
parent
c13bb8666b
commit
b54c6e673b
22 changed files with 194 additions and 106 deletions
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
* $Id: shell-irc.c,v 1.1 2008/11/28 00:16:15 adamdunkels Exp $
|
||||
* $Id: shell-irc.c,v 1.2 2010/05/31 15:22:08 nifi Exp $
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
@ -142,7 +142,7 @@ PROCESS_THREAD(shell_irc_process, ev, data)
|
|||
|
||||
running = 1;
|
||||
|
||||
uiplib_ipaddrconv(server, (u8_t *)&serveraddr);
|
||||
uiplib_ipaddrconv(server, &serveraddr);
|
||||
ircc_connect(&s, server, &serveraddr, nick);
|
||||
while(running) {
|
||||
PROCESS_WAIT_EVENT();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue