This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MacSetting(object): | |
def __init__(self, args): | |
self.device = None | |
self.listen = None | |
self.modes = None | |
self.mode_name = None | |
for option in args.listen: | |
protos = [x.name for x in option.protos] | |
if option.unix or 'ssl' in protos or 'secure' in protos: |