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

Boris Mühmer boris.muehmer@REDACTED
Tue Dec 14 10:26:45 CET 2010


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.


  - boris




More information about the erlang-questions mailing list