Blame SOURCES/cups-freebind.patch

ad8523
diff -up cups-2.0.2/cups/http-addr.c.freebind cups-2.0.2/cups/http-addr.c
ad8523
--- cups-2.0.2/cups/http-addr.c.freebind	2015-02-10 14:46:33.000000000 +0100
ad8523
+++ cups-2.0.2/cups/http-addr.c	2015-02-10 14:50:35.074759141 +0100
ad8523
@@ -186,6 +186,10 @@ httpAddrListen(http_addr_t *addr,	/* I -
ad8523
   val = 1;
ad8523
   setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, CUPS_SOCAST &val, sizeof(val));
ad8523
 
ad8523
+#ifdef __linux
ad8523
+  setsockopt(fd, IPPROTO_IP, IP_FREEBIND, CUPS_SOCAST &val, sizeof(val));
ad8523
+#endif /* __linux */
ad8523
+
ad8523
 #ifdef IPV6_V6ONLY
ad8523
   if (addr->addr.sa_family == AF_INET6)
ad8523
     setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, CUPS_SOCAST &val, sizeof(val));
ad8523
diff -up cups-2.0.2/scheduler/listen.c.freebind cups-2.0.2/scheduler/listen.c