This email list is read-only. Emails sent to this list will be discarded ---------------------------------- plugins/ethernet.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 3dd560cb2721d764f21de74f208209c64e855c55 Author: Marcel Holtmann <[email protected]> Date: Mon Dec 15 09:20:04 2008 +0100 Use IFF_LOWER_UP instead of IFF_RUNNING for link detection Diff in this email is a maximum of 400 lines. diff --git a/plugins/ethernet.c b/plugins/ethernet.c index 28c1742..832d636 100644 --- a/plugins/ethernet.c +++ b/plugins/ethernet.c @@ -62,12 +62,12 @@ static void ethernet_newlink(unsigned short type, int index, if (ethernet->index != index) continue; - if ((ethernet->flags & IFF_RUNNING) == (flags & IFF_RUNNING)) + if ((ethernet->flags & IFF_LOWER_UP) == (flags & IFF_LOWER_UP)) continue; ethernet->flags = flags; - if (ethernet->flags & IFF_RUNNING) { + if (ethernet->flags & IFF_LOWER_UP) { DBG("carrier on"); netdev = connman_element_create(NULL); _______________________________________________ Commits mailing list [email protected] https://lists.moblin.org/mailman/listinfo/commits
