Update example to reflect cisco asa server change

This commit is contained in:
samwiseg0 2018-12-23 11:53:25 -04:00
parent eae5b92905
commit 3188593a94
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ sonarr_server_ids = 1,2
radarr_server_ids = 1,2 radarr_server_ids = 1,2
tautulli_server_ids = 1 tautulli_server_ids = 1
ombi_server_ids = 1 ombi_server_ids = 1
ciscoasa_firewall_ids = false ciscoasa_server_ids = false
sickchill_server_ids = false sickchill_server_ids = false
[influxdb] [influxdb]

View file

@ -66,10 +66,10 @@ class INIParser(object):
search = (r'(?:([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}|' # domain... search = (r'(?:([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}|' # domain...
r'localhost|' # localhost... r'localhost|' # localhost...
r'^[a-zA-Z0-9_-]*|' r'^[a-zA-Z0-9_-]*|' # hostname only. My soul dies a little every time this is used...
r'\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})' # ...or ip r'\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})' # ...or ip
) )
# Include search for port if it is needed.
if inc_port: if inc_port:
search = (search + r'(?::\d+)?' + r'(?:/?|[/?]\S+)$') search = (search + r'(?::\d+)?' + r'(?:/?|[/?]\S+)$')
else: else: