Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 702601 Details for
Bug 915548
Current boa RPM does not support IPv6
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Simple patch which modifies 5 lines of code to add IPv6 support
boa-0.94.14rc21-ipv6.patch (text/plain), 2.29 KB, created by
Ben Galliart
on 2013-02-26 03:22:12 UTC
(
hide
)
Description:
Simple patch which modifies 5 lines of code to add IPv6 support
Filename:
MIME Type:
Creator:
Ben Galliart
Created:
2013-02-26 03:22:12 UTC
Size:
2.29 KB
patch
obsolete
>Only in boa-0.94.14rc21: config.log >Only in boa-0.94.14rc21: config.status >Only in boa-0.94.14rc21/docs: Makefile >Only in boa-0.94.14rc21: Makefile >Only in boa-0.94.14rc21/src: alias.o >Only in boa-0.94.14rc21/src: boa.o >Only in boa-0.94.14rc21/src: buffer.o >Only in boa-0.94.14rc21/src: cgi_header.o >Only in boa-0.94.14rc21/src: cgi.o >Only in boa-0.94.14rc21/src: config.h >Only in boa-0.94.14rc21/src: config.o >Only in boa-0.94.14rc21/src: escape.o >Only in boa-0.94.14rc21/src: get.o >Only in boa-0.94.14rc21/src: hash.o >diff -ru boa-0.94.14rc21-orig/src/ip.c boa-0.94.14rc21/src/ip.c >--- boa-0.94.14rc21-orig/src/ip.c 2005-02-22 08:11:29.000000000 -0600 >+++ boa-0.94.14rc21/src/ip.c 2013-02-25 17:13:35.514974024 -0600 >@@ -90,10 +90,10 @@ > *dest = '\0'; > } > #ifdef WHEN_DOES_THIS_APPLY >-#error Dont use memmove >- if ((s->__ss_family == PF_INET6) && >+/* #error Dont use memmove */ >+ if ((s->ss_family == PF_INET6) && > IN6_IS_ADDR_V4MAPPED(&(((struct sockaddr_in6 *) s)->sin6_addr))) { >-#error The following two lines are broken >+/* #error The following two lines are broken */ > memmove(dest, dest + 7, BOA_NI_MAXHOST); > dest[BOA_NI_MAXHOST] = '\0'; > } >Only in boa-0.94.14rc21-orig/src: ip.c.rej >Only in boa-0.94.14rc21/src: log.o >Only in boa-0.94.14rc21/src: Makefile >diff -ru boa-0.94.14rc21-orig/src/Makefile.in boa-0.94.14rc21/src/Makefile.in >--- boa-0.94.14rc21-orig/src/Makefile.in 2005-02-21 21:02:40.000000000 -0600 >+++ boa-0.94.14rc21/src/Makefile.in 2013-02-25 17:11:47.228974276 -0600 >@@ -16,7 +16,7 @@ > VPATH = @srcdir@:@srcdir@/../extras > LDFLAGS = @LDFLAGS@ > LIBS = @LIBS@ >-CFLAGS = @CFLAGS@ >+CFLAGS = @CFLAGS@ -DINET6 -DWHEN_DOES_THIS_APPLY > CPPFLAGS = @CPPFLAGS@ -I@srcdir@ -I. > @ifGNUmake@DEPEND = .depend > >Only in boa-0.94.14rc21-orig/src: Makefile.in.rej >diff -ru boa-0.94.14rc21-orig/src/request.c boa-0.94.14rc21/src/request.c >--- boa-0.94.14rc21-orig/src/request.c 2005-02-22 08:11:29.000000000 -0600 >+++ boa-0.94.14rc21/src/request.c 2013-02-25 17:11:47.230975283 -0600 >@@ -88,7 +88,7 @@ > socklen_t len; > > #ifndef INET6 >- remote_addr.S_FAMILY = (sa_family_t) 0xdead; >+ remote_addr.ss_family = (sa_family_t) 0xdead; > #endif > fd = accept(server_sock, (struct sockaddr *) &remote_addr, > &remote_addrlen); >Only in boa-0.94.14rc21-orig/src: request.c.rej
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 915548
: 702601