Update Math-BigInt-FastCalc Perl distribution to 0.5018 for Perl 5.36 and 5.38
[oi-userland.git] / components / print / hplip / patches / 07_slp.py.patch
blob690756bb3e9b453d4f94cbe029e7ab986e8b1031
1 This is a Solaris specific change which may break HPLIP on other Operating Systems.
3 Not suitable for upstream.
5 --- a/base/slp.py 2020-08-14 11:25:50.517868719 +0200
6 +++ b/base/slp.py 2020-08-14 11:26:05.129548672 +0200
7 @@ -67,7 +67,7 @@
9 try:
10 s.setsockopt(socket.SOL_IP, socket.IP_MULTICAST_TTL, ttl)
11 - s.setsockopt(socket.SOL_IP, socket.IP_MULTICAST_IF, socket.inet_aton(intf) + socket.inet_aton('0.0.0.0'))
12 + s.setsockopt(socket.SOL_IP, socket.IP_MULTICAST_IF, socket.inet_aton(intf))
13 s.setsockopt(socket.SOL_IP, socket.IP_MULTICAST_LOOP ,1)
14 except Exception as e:
15 log.error("Unable to setup multicast socket for SLP: %s" % e)