mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Revert to http address
This commit is contained in:
		
							parent
							
								
									86437d902f
								
							
						
					
					
						commit
						997c69026e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -785,7 +785,7 @@ function interfaces_status()
 | 
			
		|||
			if tracker_ip ~= "" then
 | 
			
		||||
				local tracker_port = uci:get("shadowsocks-libev","tracker","local_port")
 | 
			
		||||
				if uci:get("openmptcprouter","settings","external_check") ~= "0" then
 | 
			
		||||
					mArray.openmptcprouter["ss_addr"] = ut.trim(sys.exec("curl -s -4 --socks5 " .. tracker_ip .. ":" .. tracker_port .. " -m 2 https://ip.openmptcprouter.com"))
 | 
			
		||||
					mArray.openmptcprouter["ss_addr"] = ut.trim(sys.exec("curl -s -4 --socks5 " .. tracker_ip .. ":" .. tracker_port .. " -m 2 http://ip.openmptcprouter.com"))
 | 
			
		||||
					--mArray.openmptcprouter["ss_addr6"] = sys.exec("curl -s -6 --socks5 " .. tracker_ip .. ":" .. tracker_port .. " -m 3 http://ipv6.openmptcprouter.com")
 | 
			
		||||
				end
 | 
			
		||||
			end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue