mirror of https://github.com/huashengdun/webssh
				
				
				
			65535/tcp is a valid port number
							parent
							
								
									86c98dacc4
								
							
						
					
					
						commit
						3c0b0fb332
					
				|  | @ -620,7 +620,7 @@ jQuery(function($){ | ||||||
|     if (!port) { |     if (!port) { | ||||||
|       port = 22; |       port = 22; | ||||||
|     } else { |     } else { | ||||||
|       if (!(port > 0 && port < 65535)) { |       if (!(port > 0 && port <= 65535)) { | ||||||
|         errors.push('Invalid port: ' + port); |         errors.push('Invalid port: ' + port); | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Rocco Lucia
						Rocco Lucia