diff --git a/salt/modules/network.py b/salt/modules/network.py index c7ea13bb1f..b0672ee827 100644 --- a/salt/modules/network.py +++ b/salt/modules/network.py @@ -556,6 +556,8 @@ def active_tcp(): 'remote_port': '.'.join(connection['remote-address'].split('.')[-1:]) } return ret + else: + return {} def traceroute(host):