mirror of https://github.com/n1nj4sec/pupy.git
Fix implicit constructor for IGDClient
This commit is contained in:
parent
5b1637adc3
commit
bc4f509dcd
|
@ -90,13 +90,13 @@ class IGDClient:
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
available=True,
|
|
||||||
bindIP='0.0.0.0',
|
bindIP='0.0.0.0',
|
||||||
ctrlURL=None,
|
ctrlURL=None,
|
||||||
service="WANIPC",
|
service="WANIPC",
|
||||||
edebug=False,
|
edebug=False,
|
||||||
pprint=False,
|
pprint=False,
|
||||||
timeout=2.0):
|
timeout=2.0,
|
||||||
|
available=True):
|
||||||
"""
|
"""
|
||||||
- intIP is the source address of the request packet, which implies the source interface
|
- intIP is the source address of the request packet, which implies the source interface
|
||||||
- ctrlURL is the the control URL of IGD server, client will do discovery if it is None
|
- ctrlURL is the the control URL of IGD server, client will do discovery if it is None
|
||||||
|
|
Loading…
Reference in New Issue