removed commented function and trailing spaces

This commit is contained in:
lonkaars 2021-01-24 17:01:18 +01:00
parent 9c87603a9e
commit 1812f2af53

View File

@ -742,8 +742,6 @@ if __name__ == '__main__':
callback=targetList, type='string', callback=targetList, type='string',
dest='targets', help='specify target IP address(es) and perform attack') dest='targets', help='specify target IP address(es) and perform attack')
# def setGateway(option, opt, value, parser):
# setattr(parser.values, option.dest, value)
parser.add_option('-g', '--gateway', action='callback', parser.add_option('-g', '--gateway', action='callback',
callback=(lambda option, opt, value, parser: setattr(parser.values, option.dest, value)), type='string', callback=(lambda option, opt, value, parser: setattr(parser.values, option.dest, value)), type='string',
dest='gateway', help='specify gateway IP address') dest='gateway', help='specify gateway IP address')