Niclas Finne | 1 Jun 17:13 2009
Picon
Picon

contiki-2.x/platform/avr-ravenusb fakeuip.c, 1.2, 1.3

Update of /cvsroot/contiki/contiki-2.x/platform/avr-ravenusb
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13920

Modified Files:
	fakeuip.c 
Log Message:
Bugfix: output function was not called with latest version of tcpip. Identified by Pierre de Vos.

Index: fakeuip.c
===================================================================
RCS file: /cvsroot/contiki/contiki-2.x/platform/avr-ravenusb/fakeuip.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** fakeuip.c	6 Mar 2009 15:21:45 -0000	1.2
--- fakeuip.c	1 Jun 2009 15:13:30 -0000	1.3
***************
*** 18,23 ****
  uip_lladdr_t uip_lladdr;

! u8_t tcpip_output(uip_lladdr_t * lladdr){ return 0; }
! void tcpip_set_outputfunc(u8_t (* f)(uip_lladdr_t *)) { return; }

  u16_t htons(u16_t val) { return HTONS(val);}
--- 18,32 ----
  uip_lladdr_t uip_lladdr;

! static u8_t (* output)(uip_lladdr_t *);
! 
! u8_t tcpip_output(uip_lladdr_t * lladdr){
(Continue reading)


Gmane