]> git.meshlink.io Git - meshlink/commitdiff
Fix experimental GUI when reading hexadecimal values.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 17 Apr 2010 10:03:08 +0000 (12:03 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 17 Apr 2010 10:03:08 +0000 (12:03 +0200)
gui/Tinc.py

index d4dddd264395efb03d66bbe4efe9974cb580303e..fdf41be19e7cc822e48a1c5656cf808f20f94d9d 100755 (executable)
@@ -56,7 +56,7 @@ class Edge:
                self.to = args[2]
                self.address = args[4]
                self.port = args[6]
-               self.options = int(args[8])
+               self.options = int(args[8], 16)
                self.weight = int(args[10])
 
 class Subnet: