[hipl-commit] [trunk] Rev 4588: Fixed a failure in triggering base exchange.

  • From: Miika Komu <miika@xxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 25 May 2010 08:47:53 +0300

Committer: Miika Komu <miika@xxxxxx>
Date: 25/05/2010 at 08:47:53
Revision: 4588
Revision-id: miika@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Fixed a failure in triggering base exchange.
  
  Added some removed functionality to hip_netdev_trigger_bex. Now e.g.
  ping6 <HIT> works again when the HIT and IP address have been configured
  to hosts files or DNS.

Modified:
  M  hipd/netdev.c

=== modified file 'hipd/netdev.c'
--- hipd/netdev.c       2010-05-22 12:37:40 +0000
+++ hipd/netdev.c       2010-05-25 05:48:59 +0000
@@ -876,6 +876,11 @@
         }
     }
 
+    /* Try to look up peer ip from hosts files and DNS */
+    if (err) {
+        err = hip_map_id_to_addr(dst_hit, dst_lsi, dst_addr);
+    }
+
     /* No peer address found; set it to broadcast address
      * as a last resource */
     if (err) {

Other related posts:

  • » [hipl-commit] [trunk] Rev 4588: Fixed a failure in triggering base exchange. - Miika Komu