|
@ -354,7 +354,8 @@ class TCPRelayHandler(object): |
|
|
|
|
|
|
|
|
host_port = [] |
|
|
host_port = [] |
|
|
match_port = False |
|
|
match_port = False |
|
|
if type(host_list) == list: |
|
|
if type(host_list) != list: |
|
|
|
|
|
host_list = [host_list] |
|
|
for host in host_list: |
|
|
for host in host_list: |
|
|
items = common.to_str(host).rsplit(':', 1) |
|
|
items = common.to_str(host).rsplit(':', 1) |
|
|
if len(items) > 1: |
|
|
if len(items) > 1: |
|
|