diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-03-17 15:34:46 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-03-17 15:34:46 +0000 |
commit | 7bb43bd370e70385a4ccde06f3f4554f488aa6b3 (patch) | |
tree | 602b7a4c4a1b8a6c2594666409b1f829adc89360 /netlink.c | |
parent | 4ba1a4b0b4488e5058af67b789187735b529075e (diff) |
add code for recieving packets
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@11 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'netlink.c')
-rw-r--r-- | netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -60,7 +60,7 @@ static gboolean check_func(GSource *source) { nl = *((flxNetlink**) (((guint8*) source) + sizeof(GSource))); g_assert(nl); - return nl->poll_fd.revents & G_IO_IN; + return nl->poll_fd.revents & (G_IO_IN|G_IO_HUP|G_IO_ERR); } static gboolean dispatch_func(GSource *source, GSourceFunc callback, gpointer user_data) { |