R8B-0 get interface list bug

Per Bergqvist <>
Tue Feb 19 16:57:23 CET 2002


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:                                                    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inet_drv_patch
Type: application/octet-stream
Size: 2994 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20020219/0abd37e1/attachment.obj>


More information about the erlang-questions mailing list