On Tue, Dec 21, 2010 at 12:35:17AM +0100, Joakim Tjernlund wrote:
> I meant a #define OSPF_IT_MPTP xx so one knows
> if it is a ptmp and ptp link.

It would need more work to really support PTMP, as there
are places where it is assumed that neighbor list for
PTP iface contains at most one entry.

> For ptp links you don't have to
> scan the neighbour list in calc_next_hop

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.

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: [email protected])
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."

Attachment: signature.asc
Description: Digital signature

Reply via email to