Skip to content

Commit

Permalink
problem: other varitions of multiple interfaces aren't working
Browse files Browse the repository at this point in the history
Just always split by , before returning
  • Loading branch information
JustinAzoff committed Oct 5, 2017
1 parent bd1005d commit c2f855d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interfacesetup.py
Expand Up @@ -14,7 +14,7 @@ def extract_interfaces(intf):
intf = intf.split('::')[1]
if ':' in intf:
intf = intf.split(':')[0]
return [intf]
return intf.split(',')

class InterfaceSetupPlugin(BroControl.plugin.Plugin):
def __init__(self):
Expand Down

0 comments on commit c2f855d

Please sign in to comment.