mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* ext/socket/ancdata.c (ancillary_inspect): Don't call
anc_inspect_ipv6_pktinfo if !HAVE_TYPE_STRUCT_IN6_PKTINFO. anc_inspect_ipv6_pktinfo is not defined in the case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									2b792abd69
								
							
						
					
					
						commit
						cb2f3c1b87
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,9 @@
 | 
			
		|||
Tue May  7 12:12:42 2013  Tanaka Akira  <akr@fsij.org>
 | 
			
		||||
 | 
			
		||||
	* ext/socket/ancdata.c (ancillary_inspect): Don't call
 | 
			
		||||
	  anc_inspect_ipv6_pktinfo if !HAVE_TYPE_STRUCT_IN6_PKTINFO.
 | 
			
		||||
	  anc_inspect_ipv6_pktinfo is not defined in the case.
 | 
			
		||||
 | 
			
		||||
Tue May  7 12:10:52 2013  Tanaka Akira  <akr@fsij.org>
 | 
			
		||||
 | 
			
		||||
	* ext/socket/socket.c (socket_s_ip_address_list): Cast EXTRA_SPACE as
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1052,7 +1052,7 @@ ancillary_inspect(VALUE self)
 | 
			
		|||
#        if defined(IPPROTO_IPV6)
 | 
			
		||||
          case IPPROTO_IPV6:
 | 
			
		||||
            switch (type) {
 | 
			
		||||
#            if defined(IPV6_PKTINFO) /* RFC 3542 */
 | 
			
		||||
#            if defined(IPV6_PKTINFO) && defined(HAVE_TYPE_STRUCT_IN6_PKTINFO) /* RFC 3542 */
 | 
			
		||||
              case IPV6_PKTINFO: inspected = anc_inspect_ipv6_pktinfo(level, type, data, ret); break;
 | 
			
		||||
#            endif
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue