Fix IGD args

This commit is contained in:
Oleksii Shevchuk 2017-07-16 13:18:47 +03:00
parent de34f23b4f
commit d5a62bb676
1 changed files with 3 additions and 3 deletions

View File

@ -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(