summaryrefslogtreecommitdiffstats
path: root/avahi-core/iface-pfroute.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/iface-pfroute.c')
-rw-r--r--avahi-core/iface-pfroute.c4
1 files changed, 2 insertions, 2 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);