summaryrefslogtreecommitdiffstats
path: root/retiolum
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-03-07 15:51:36 +0100
committermakefu <github@syntax-fehler.de>2014-03-07 15:51:36 +0100
commitd090f6563fd45a0fcae59cf7fc5730e257facc8c (patch)
treeb86a77df748fd2431c74812cca6b5b33f43baaa0 /retiolum
parentf91c15a6ac8e94dae54f4cdaa93defd3f7006226 (diff)
parentc48ee1d169a77902442639f6bc48d0a7b291eafb (diff)
Merge branch 'master' of ssh://github.com/krebscode/painload
Diffstat (limited to 'retiolum')
-rwxr-xr-xretiolum/scripts/adv_graphgen/tinc_stats/Supernodes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/retiolum/scripts/adv_graphgen/tinc_stats/Supernodes.py b/retiolum/scripts/adv_graphgen/tinc_stats/Supernodes.py
index 7bb79708..7e1f4dae 100755
--- a/retiolum/scripts/adv_graphgen/tinc_stats/Supernodes.py
+++ b/retiolum/scripts/adv_graphgen/tinc_stats/Supernodes.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
def find_potential_super(path="/etc/tinc/retiolum/hosts"):
import os
@@ -56,4 +56,4 @@ if __name__ == "__main__":
usage
"""
for host,addrs in check_all_the_super():
- print(host,addrs)
+ print("%s %s" %(host,str(addrs)))