On Tue, 14.06.11 23:01, Robert Millan ([email protected]) wrote: > 2011/6/14 Lennart Poettering <[email protected]>: > > if LEGACY > > foo_SOURCES += legacy.c > > else > > foo_SOURCES += netlink.c > > endif > > > > In the Makefile.am file. > > Here.
I have commited this now, though I am pretty sure this is actually broken. You cannot just go and make up ifindexes. You need to determine the kernel ifindexes for your interfaces. You probably simply need to call if_nametoindex() on all ifa_name fields. Lennart -- Lennart Poettering - Red Hat, Inc. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

