From b1fef35d037f9854f97cdbde7c459a4b39472579 Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Mon, 25 Apr 2016 20:24:27 +0200 Subject: [PATCH] move varible to module --- hbd | 1 - hbdclass.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/hbd b/hbd index b46cdbe..bfa2ef6 100755 --- a/hbd +++ b/hbd @@ -46,7 +46,6 @@ SMTPSERVER = "localhost" msgs = [] -num = 0 #AEW upcount = 0 PORT = 50003 TPORT = 50004 diff --git a/hbdclass.py b/hbdclass.py index a53b4f3..9cc0085 100644 --- a/hbdclass.py +++ b/hbdclass.py @@ -12,6 +12,7 @@ import json hosts = {} # map of addrs to names htab = {} +num = 0 def isIPv4(addr):