aboutsummaryrefslogtreecommitdiffstats
path: root/mdns-publish-xendom.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdns-publish-xendom.c')
-rw-r--r--mdns-publish-xendom.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/mdns-publish-xendom.c b/mdns-publish-xendom.c
index 430bfd0..4401794 100644
--- a/mdns-publish-xendom.c
+++ b/mdns-publish-xendom.c
@@ -390,12 +390,13 @@ int main(int argc, char*argv[])
ret = 0;
avahi_threaded_poll_start(thread_poll);
-#if 0 /* hmm, not working */
- if (0 != xen_watch_add("memory/target"))
- goto fail;
- xen_watch_add("vm");
- xen_watch_add("domid");
-#endif
+ if (0) {
+ /* hmm, not working */
+ if (0 != xen_watch_add("memory/target"))
+ goto fail;
+ xen_watch_add("vm");
+ xen_watch_add("domid");
+ }
for (;;) {
if (app_quit)