Re: [LOW] STR #4109: snmp backend binary dies if no IPv6 support in kernel
Michael Sweet <[email protected]>
| Newsgroups | gmane.comp.printing.cups.bugs |
|---|---|
| Message-ID | <[email protected]> |
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L4109 Version: 1.6-current Fix Version: 1.6-current (r10535) _______________________________________________ cups-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/cups-bugs
str4109.patch
(text/plain, 357 B)
Index: backend/snmp.c
===================================================================
--- backend/snmp.c (revision 10534)
+++ backend/snmp.c (working copy)
@@ -251,7 +251,7 @@
#ifdef AF_INET6
if ((ipv6 = _cupsSNMPOpen(AF_INET6)) < 0)
- return (1);
+ perror("DEBUG: Unable to create IPv6 socket");
#else
ipv6 = -1;
#endif /* AF_INET6 */