[hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5138: Fixed issue with dnsproxy treating LSIs as locators

  • From: noreply@xxxxxxxxxxxxx
  • To: HIPL core team <hipl-dev@xxxxxxxxxxxxx>
  • Date: Mon, 08 Nov 2010 14:08:26 -0000

------------------------------------------------------------
revno: 5138
committer: Artturi Karila <artturi.karila@xxxxxxxxxx>
branch nick: trunk
timestamp: Mon 2010-11-08 16:06:09 +0200
message:
  Fixed issue with dnsproxy treating LSIs as locators
  
  LSIs from hosts files were being cached as IPv4 addresses and mapped to HITs 
as
  such. Added a check to prevent this.
modified:
  tools/hipdnsproxy/hosts.py


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'tools/hipdnsproxy/hosts.py'
--- tools/hipdnsproxy/hosts.py  2010-04-28 15:47:49 +0000
+++ tools/hipdnsproxy/hosts.py  2010-11-08 14:06:09 +0000
@@ -164,7 +164,7 @@
                     aaaa_hit[n] = (addr, 0)
                 elif self.str_is_ipv6(addr):
                     aaaa[n] = (addr, 0)
-                else:
+                elif not self.str_is_lsi(addr):
                     a[n] = (addr, 0)
         self.a = a
         self.aaaa = aaaa

Other related posts:

  • » [hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5138: Fixed issue with dnsproxy treating LSIs as locators - noreply