[Olsr-cvs] olsrd-current/lib/bmf/src Bmf.c,1.3,1.4

Bernd Petrovitsch (spam-protected)
Fri Apr 20 16:58:38 CEST 2007


Update of /cvsroot/olsrd/olsrd-current/lib/bmf/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28697/lib/bmf/src

Modified Files:
	Bmf.c 
Log Message:
* fixed warnings on 64bit hardware

Index: Bmf.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/bmf/src/Bmf.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Bmf.c	20 Apr 2007 14:06:17 -0000	1.3
--- Bmf.c	20 Apr 2007 14:58:35 -0000	1.4
***************
*** 196,203 ****
    OLSR_PRINTF(
      9,
!     "%s: %s pkt of %d bytes captured on %s interface \"%s\": %s->%s\n",
      PLUGIN_NAME_SHORT,
      sllPkttype == PACKET_OUTGOING ? "outgoing" : "incoming",
!     ethPktLen,
      isFromOlsrIntf ? "OLSR" : "non-OLSR",
      intf->ifName,
--- 196,203 ----
    OLSR_PRINTF(
      9,
!     "%s: %s pkt of %ld bytes captured on %s interface \"%s\": %s->%s\n",
      PLUGIN_NAME_SHORT,
      sllPkttype == PACKET_OUTGOING ? "outgoing" : "incoming",
!     (long)ethPktLen,
      isFromOlsrIntf ? "OLSR" : "non-OLSR",
      intf->ifName,
***************
*** 543,549 ****
    OLSR_PRINTF(
      9,
!     "%s: encapsulated pkt of %d bytes incoming on \"%s\": %s->",
      PLUGIN_NAME_SHORT,
!     ethPktLen,
      intf->ifName,
      inet_ntoa(ipData->ip_src));
--- 543,549 ----
    OLSR_PRINTF(
      9,
!     "%s: encapsulated pkt of %ld bytes incoming on \"%s\": %s->",
      PLUGIN_NAME_SHORT,
!     (long)ethPktLen,
      intf->ifName,
      inet_ntoa(ipData->ip_src));
***************
*** 806,812 ****
    OLSR_PRINTF(
      9,
!     "%s: outgoing pkt of %d bytes captured on tuntap interface \"%s\": %s->%s\n",
      PLUGIN_NAME_SHORT,
!     ethPktLen,
      EtherTunTapIfName,
      olsr_ip_to_string(&srcIp),
--- 806,812 ----
    OLSR_PRINTF(
      9,
!     "%s: outgoing pkt of %ld bytes captured on tuntap interface \"%s\": %s->%s\n",
      PLUGIN_NAME_SHORT,
!     (long)ethPktLen,
      EtherTunTapIfName,
      olsr_ip_to_string(&srcIp),





More information about the Olsr-cvs mailing list