From a645cf73e2825aef54e307ea326afac73fde65b0 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 21 May 2013 20:58:51 +0200 Subject: Use saner settings --- ethcansend.py | 2 +- subbot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ethcansend.py b/ethcansend.py index 9aaaebd..7f0e667 100644 --- a/ethcansend.py +++ b/ethcansend.py @@ -48,7 +48,7 @@ data += dgst.digest() data = pack('>6s6sH3sH', dst, src, proto, oui, subp) + data -s.sendto(data, ('bond0.4', 0)) +s.sendto(data, ('eth0', 0)) #sleep(0.1) #s.sendto(data, ('bond0.4', 0)) #sleep(0.1) diff --git a/subbot.py b/subbot.py index 78f3f6b..7e90c56 100644 --- a/subbot.py +++ b/subbot.py @@ -107,7 +107,7 @@ class TestBot(irc.bot.SingleServerIRCBot): self.ircobj.execute_delayed(5, self.refresh) def main(nickname, channel): - bot = TestBot(channel, nickname, '172.22.24.1', 6667) + bot = TestBot(channel, nickname, 'irc.hackint.org', 6667) bot.start() if __name__ == "__main__": -- cgit v1.2.1