projects
/
pwnitter
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cc1ab7
)
Added self as tear_down_monitor argument *blush*
author
Tobias Mueller
<tobiasmue@gnome.org>
Thu, 13 Jan 2011 16:15:20 +0000
(17:15 +0100)
committer
Tobias Mueller
<tobiasmue@gnome.org>
Thu, 13 Jan 2011 16:15:20 +0000
(17:15 +0100)
pwnitter.py
patch
|
blob
|
history
diff --git
a/pwnitter.py
b/pwnitter.py
index
6b176f1
..
67d3f75
100755
(executable)
--- a/
pwnitter.py
+++ b/
pwnitter.py
@@
-83,7
+83,7
@@
class Pwnitter(dbus.service.Object):
return self.status
- def tear_down_monitor(device='mon0'):
+ def tear_down_monitor(self, device='mon0'):
cmd = '/sbin/ifconfig mon0 down'.split()
subprocess.call(cmd)
cmd = '/usr/sbin/iw dev mon0 del'.split()