21 Dec
2010
21 Dec
'10
2:24 a.m.
On Tue, Dec 21, 2010 at 01:22:48AM +0100, Joakim Tjernlund wrote:
For PTP iface, the list contains at most one entry (so the scan is fast :-) ) and you have to examine it anyways to know neighbor's IP address.
Yes, it is a small improvement I guess and you would find the remote IP address, if there is one, by following the ifa ptr.
You cannot get remote IP address just from ifa - you can have ethernet network with (e.g.) /24 IP prefix configured as ptp iface (which is OK if there is just two routers on that network). -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."