On Tue, 14.06.11 23:01, Robert Millan (r...@debian.org) wrote:

> 2011/6/14 Lennart Poettering <lenn...@poettering.net>:
> > 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 debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110615145619.ga3...@tango.0pointer.de

Reply via email to