diff options
Diffstat (limited to 'avahi-core')
-rw-r--r-- | avahi-core/iface-pfroute.c | 4 | ||||
-rw-r--r-- | avahi-core/iface-pfroute.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/avahi-core/iface-pfroute.c b/avahi-core/iface-pfroute.c index 17b80d4..56149da 100644 --- a/avahi-core/iface-pfroute.c +++ b/avahi-core/iface-pfroute.c @@ -265,7 +265,7 @@ fail: if (m->osdep.pfroute) { if (m->osdep.pfroute->watch) - m->osdep.pfroute->poll_api->watch_free(m->osdep.pfroute->watch); + m->server->poll_api->watch_free(m->osdep.pfroute->watch); if (fd >= 0) close(fd); @@ -281,7 +281,7 @@ void avahi_interface_monitor_free_osdep(AvahiInterfaceMonitor *m) { if (m->osdep.pfroute) { if (m->osdep.pfroute->watch) - m->osdep.pfroute->poll_api->watch_free(m->osdep.pfroute->watch); + m->server->poll_api->watch_free(m->osdep.pfroute->watch); if (m->osdep.pfroute->fd >= 0) close(m->osdep.pfroute->fd); diff --git a/avahi-core/iface-pfroute.h b/avahi-core/iface-pfroute.h index e46df5f..34098da 100644 --- a/avahi-core/iface-pfroute.h +++ b/avahi-core/iface-pfroute.h @@ -26,7 +26,6 @@ typedef struct AvahiPfRoute AvahiPfRoute; struct AvahiPfRoute { int fd; - const AvahiPoll *poll_api; AvahiWatch *watch; AvahiInterfaceMonitor *m; }; |