Major bug fix in IPv6 code.
Major bug fix in miniserver.c for IPv6, bug was introduced when
changing implementation of get_port in November 20th 2010 ("gena:fix
several compiler warnings" commit).
(cherry picked from commit 063d472f80)
			
			
This commit is contained in:
		 Fabrice Fontaine
					Fabrice Fontaine
				
			
				
					committed by
					
						 Marcelo Roberto Jimenez
						Marcelo Roberto Jimenez
					
				
			
			
				
	
			
			
			 Marcelo Roberto Jimenez
						Marcelo Roberto Jimenez
					
				
			
						parent
						
							ee9f83c3d5
						
					
				
				
					commit
					28f4d398d8
				
			| @@ -255,6 +255,14 @@ Version 1.8.0 | |||||||
| Version 1.6.11 | Version 1.6.11 | ||||||
| ******************************************************************************* | ******************************************************************************* | ||||||
|  |  | ||||||
|  | 2011-02-07 Fabrice Fontaine <fabrice.fontaine(at)orange-ftgroup.com> | ||||||
|  |  | ||||||
|  | 	Major bug fix in IPv6 code. | ||||||
|  |  | ||||||
|  | 	Major bug fix in miniserver.c for IPv6, bug was introduced when | ||||||
|  | 	changing implementation of get_port in November 20th 2010 ("gena:fix | ||||||
|  | 	several compiler warnings" commit). | ||||||
|  |  | ||||||
| 2011-02-11 Marcelo Roberto Jimenez <mroberto(at)users.sourceforge.net> | 2011-02-11 Marcelo Roberto Jimenez <mroberto(at)users.sourceforge.net> | ||||||
|  |  | ||||||
| 	Fix for incorrectly exported include files. | 	Fix for incorrectly exported include files. | ||||||
|   | |||||||
| @@ -728,7 +728,7 @@ static int get_miniserver_sockets( | |||||||
| 			return UPNP_E_LISTEN; | 			return UPNP_E_LISTEN; | ||||||
| 		} | 		} | ||||||
| 		ret_code = get_port(listenfd6, &actual_port6); | 		ret_code = get_port(listenfd6, &actual_port6); | ||||||
| 		if (ret_code <= 0) { | 		if (ret_code < 0) { | ||||||
| 			sock_close(listenfd4); | 			sock_close(listenfd4); | ||||||
| 			sock_close(listenfd6); | 			sock_close(listenfd6); | ||||||
| 			return UPNP_E_INTERNAL_ERROR; | 			return UPNP_E_INTERNAL_ERROR; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user