|
|
@ -628,6 +628,7 @@ def compare_listeners(connection, module, current_listeners, new_listeners, purg
|
|
|
|
for current_listener in current_listeners:
|
|
|
|
for current_listener in current_listeners:
|
|
|
|
current_listener_passed_to_module = False
|
|
|
|
current_listener_passed_to_module = False
|
|
|
|
for new_listener in new_listeners[:]:
|
|
|
|
for new_listener in new_listeners[:]:
|
|
|
|
|
|
|
|
new_listener['Port'] = int(new_listener['Port'])
|
|
|
|
if current_listener['Port'] == new_listener['Port']:
|
|
|
|
if current_listener['Port'] == new_listener['Port']:
|
|
|
|
current_listener_passed_to_module = True
|
|
|
|
current_listener_passed_to_module = True
|
|
|
|
# Remove what we match so that what is left can be marked as 'to be added'
|
|
|
|
# Remove what we match so that what is left can be marked as 'to be added'
|
|
|
|