mirror of https://github.com/n1nj4sec/pupy.git
Fix IGD args
This commit is contained in:
parent
de34f23b4f
commit
d5a62bb676
|
@ -63,10 +63,10 @@ class IGDCMDClient(object):
|
||||||
|
|
||||||
def addPM(self, args):
|
def addPM(self, args):
|
||||||
self.igdc.AddPortMapping(
|
self.igdc.AddPortMapping(
|
||||||
args.intIP, args.extPort,
|
args.extPort, args.proto, args.intPort,
|
||||||
args.proto, args.intPort,
|
|
||||||
args.enabled, args.duration,
|
args.enabled, args.duration,
|
||||||
args.desc, args.remote)
|
args.intIP, args.desc, args.remote
|
||||||
|
)
|
||||||
|
|
||||||
def delPM(self, args):
|
def delPM(self, args):
|
||||||
self.igdc.DeletePortMapping(
|
self.igdc.DeletePortMapping(
|
||||||
|
|
Loading…
Reference in New Issue