mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Fix wan status
This commit is contained in:
		
							parent
							
								
									9edb2e447e
								
							
						
					
					
						commit
						ffa995d59b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -94,7 +94,7 @@ _ping() {
 | 
			
		|||
		-c 1 \
 | 
			
		||||
		-q \
 | 
			
		||||
		"${host}"
 | 
			
		||||
	) && echo "$ret" | grep -sq "0% packet loss" && {
 | 
			
		||||
	) && echo "$ret" | grep -sq " 0% packet loss" && {
 | 
			
		||||
		if [ "$localip" = "yes" ]; then
 | 
			
		||||
			OMR_TRACKER_LATENCY=$(echo "$ret" | cut -d "/" -s -f5 | cut -d "." -f1)
 | 
			
		||||
			_update_rto "$OMR_TRACKER_LATENCY"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue