[Olsr-cvs] olsrd-current/src link_set.c,1.70,1.71

Bernd Petrovitsch (spam-protected)
Wed Sep 12 01:49:04 CEST 2007


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

Modified Files:
	link_set.c 
Log Message:
* minor cleanup by Hannes Gredler <(spam-protected)>

Index: link_set.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/link_set.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -C2 -d -r1.70 -r1.71
*** link_set.c	19 Aug 2007 20:37:41 -0000	1.70
--- link_set.c	11 Sep 2007 23:49:02 -0000	1.71
***************
*** 70,74 ****
  
  static struct link_entry *
! add_new_entry(union olsr_ip_addr *, union olsr_ip_addr *, union olsr_ip_addr *, double, double, struct interface *);
  
  static void
--- 70,74 ----
  
  static struct link_entry *
! add_link_entry(union olsr_ip_addr *, union olsr_ip_addr *, union olsr_ip_addr *, double, double, struct interface *);
  
  static void
***************
*** 459,463 ****
  
  static struct link_entry *
! add_new_entry(union olsr_ip_addr *local, union olsr_ip_addr *remote, union olsr_ip_addr *remote_main, double vtime, double htime, struct interface *local_if)
  {
    struct link_entry *tmp_link_set, *new_link;
--- 459,463 ----
  
  static struct link_entry *
! add_link_entry(union olsr_ip_addr *local, union olsr_ip_addr *remote, union olsr_ip_addr *remote_main, double vtime, double htime, struct interface *local_if)
  {
    struct link_entry *tmp_link_set, *new_link;
***************
*** 670,674 ****
  /**
   *Update a link entry. This is the "main entrypoint" in
!  *the link-sensing. This function is calles from the HELLO
   *parser function.
   *It makes sure a entry is updated or created.
--- 670,674 ----
  /**
   *Update a link entry. This is the "main entrypoint" in
!  *the link-sensing. This function is called from the HELLO
   *parser function.
   *It makes sure a entry is updated or created.
***************
*** 690,694 ****
  
    /* Add if not registered */
!   entry = add_new_entry(local, remote, &message->source_addr, message->vtime, message->htime, in_if);
  
    /* Update ASYM_time */
--- 690,694 ----
  
    /* Add if not registered */
!   entry = add_link_entry(local, remote, &message->source_addr, message->vtime, message->htime, in_if);
  
    /* Update ASYM_time */





More information about the Olsr-cvs mailing list