Red Hat Bugzilla – Bug 198368
Package gimp-print lacks IPv6 support
Last modified: 2007-11-30 17:11:37 EST
This bug was reported automaticaly in connection with IPv6 project.
Our aim is to support IPv6 in all Fedora Core packages so FC6 and RHEL5 will be ready for IPv6.
This package seems to lack IPv6 support as is illustrated in attached log.
Here follows part of scanning log (grep -r F_INET *)/up to 30 lines:
/gimp-print-4.2.7/src/cups/canon.c:181: if ((fd_out = socket(AF_INET, SOCK_STREAM, 0)) < 0)
/gimp-print-4.2.7/src/cups/epson.c:209: if ((fd_out = socket(AF_INET, SOCK_STREAM, 0)) < 0)
Created attachment 137011 [details]
This patch replaces the protocol-dependent (IPv4) routines with the
protocol-independent ones. It might need further adjustments to make it
actually work (someone with IPv6 capable network printer should test it).
Thanks. Patch applied in 4.2.7-21.