buildroot/package/avahi/autoipd-perms.patch

12 lines
324 B
Diff

--- avahi-0.6.14/avahi-autoipd/main.c.cls 2006-09-13 12:49:45.000000000 -0700
+++ avahi-0.6.14/avahi-autoipd/main.c 2006-09-25 20:34:10.000000000 -0700
@@ -239,7 +239,7 @@
fprintf(f, "%s\n", inet_ntop(AF_INET, &addr, buf, sizeof (buf)));
fclose(f);
-
+ chmod(fn, S_IRUSR|S_IWUSR);
return 0;
fail: