better fallback

This commit is contained in:
ed 2021-06-19 16:21:39 +02:00
parent 910732e02c
commit 75917b9f7c

View File

@ -115,7 +115,7 @@ class HttpCli(object):
try:
self.ip = vs[n].strip()
except:
self.ip = vs[-1].strip()
self.ip = vs[0].strip()
self.log("rproxy={} oob x-fwd {}".format(self.args.rproxy, v), c=3)
self.log_src = self.conn.set_rproxy(self.ip)