diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-08-28 15:17:31 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-08-28 15:17:31 +0000 |
commit | f778c2b164b2614281f2d029726eff8326986a79 (patch) | |
tree | 148add93aa19018e6f1226bb749747bcc7fa3708 /avahi-core | |
parent | 2fcc071b4a95cc569287b529cc8a349de6bb9570 (diff) |
* 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
Diffstat (limited to 'avahi-core')
-rw-r--r-- | avahi-core/iface.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |