On Mon, Sep 30, 2013 at 09:24:18PM +0300, Sergey Popovich wrote: > * Intdodoce list_compare() to compare clist and eclist as arrays of u32. > eclist stored as u64 with MSB first, so we could compare it also as u32. > > * Introduce path_compare() to compare bgppath type. Compares path length, > and element by element, considering AS_PATH_SET more longer.
I replaced this with simple memcmp() (in adata_same()) for val_same(). Ordering is IMHO useless for clists and paths. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@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."
signature.asc
Description: Digital signature