From: Lennart Poettering Date: Sun, 28 Aug 2005 15:17:31 +0000 (+0000) Subject: * Change order of relevancy checks and RR updating for new/removed interfaces X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=f778c2b164b2614281f2d029726eff8326986a79;p=catta * Change order of relevancy checks and RR updating for new/removed interfaces git-svn-id: file:///home/lennart/svn/public/avahi/trunk@469 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-core/iface.c b/avahi-core/iface.c index f60224b..8540720 100644 --- a/avahi-core/iface.c +++ b/avahi-core/iface.c @@ -424,8 +424,8 @@ static void netlink_callback(AvahiNetlink *nl, struct nlmsghdr *n, void* userdat a = RTA_NEXT(a, l); } - update_hw_interface_rr(m, hw, 0); check_hw_interface_relevant(m, hw); + update_hw_interface_rr(m, hw, 0); } else if (n->nlmsg_type == RTM_DELLINK) { struct ifinfomsg *ifinfomsg = NLMSG_DATA(n); @@ -509,8 +509,8 @@ static void netlink_callback(AvahiNetlink *nl, struct nlmsghdr *n, void* userdat free_address(m, addr); } - update_interface_rr(m, i, 0); check_interface_relevant(m, i); + update_interface_rr(m, i, 0); } else if (n->nlmsg_type == NLMSG_DONE) {