[erlang-questions] Re: Erlang/OTP R14B01 has been released

Raimo Niskanen <>
Tue Dec 14 11:38:54 CET 2010


On Tue, Dec 14, 2010 at 10:26:45AM +0100, Boris Mühmer wrote:
> Am Dienstag, den 14.12.2010, 09:44 +0100 schrieb Raimo Niskanen:
> > And I missed the fact that the address could be NULL entirely...
> > Silly me. The same goes for many other fields too.
> 
> I wasn't sure if that field (ifa_p->ifa_addr) could be NULL, but the
> output of "ip addr list" made me suspicious! For "tun0" the result was:
> 
> 5: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc
> pfifo_fast state UNKNOWN qlen 100
>     link/none 
>     inet 192.168.XXX.XXX peer 192.168.XXX.XXX/32 scope global tun0
> 
> Because of "link/none" I started to dig a bit deeper.
> 
> > Can you test the attached patch to see if it is this problem
> > only or more. It is really just a 6-line change, but whitespace
> > differences makes it ugly.
> 
> The patch works on my system.

Great! Now I would like to get a positive confirmation
from Zvi that it works for him too...

> 
> 
>   - boris
> 

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB


More information about the erlang-questions mailing list