R8B-0 get interface list bug

Per Bergqvist per@REDACTED
Tue Feb 19 16:59:50 CET 2002


And I am not drunk. I just hate my ISP's webmail.                     
/Per                                                                  
                                                                      
> Hi,                                                                 
                                                                      
>                                                                     
                                                                      
> prim_inet:getiflist/1 may miss some interfaces                      
                                                                      
> on nodes with many (alias) interfaces.                              
                                                                      
> The bug is caused by a buffer underr                                
                                                                      
> un in inet_drv and the                                              
                                                                      
> the function does not retry the call with a larger buffer as it     
                                                                      
> should.                                                             
                                                                      
>                                                                     
                                                                      
> Attached is a patch for R8B-0.                                      
                                                                      
> To apply it cd to the erlang root and "patch -p0 < inet_drv_patch"  
                                                                      
>                                                                     
                                                                      
> /Per                                                                
                                                                      
>                                                                     
                                                                      
> =========================================================           
                                                                      
> Per Bergqvist                                                       
                                                                      
> Synapse Systems AB                                                  
                                                                      
> Phone: +46 709 686 685                                              
                                                                      
> Email: per@REDACTED                                                 
                                                                      
=========================================================             
Per Bergqvist                                                         
Synapse Systems AB                                                    
Phone: +46 709 686 685                                                
Email: per@REDACTED                                                   



More information about the erlang-questions mailing list