On Sat, 13.09.14 20:40, Tom Gundersen ([email protected]) wrote: > Yeah, this could happen. It so happens that the loopback link will > always have ifindex 1, so I guess we could just fall back to checking > for that if we don't have the real flags.
Is that true even in network namespaces? Is this really exported API? I really don't want to rely on behaviour here that is not considered official API of Linux. If it is safe API of Linux, then we really should drop manager_ifindex_is_loopback() entirely, and just always compare the ifindex. Anyone has some pointers where this is made API? Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
