From: Fabian Keil Date: Fri, 17 Apr 2009 11:47:40 +0000 (+0000) Subject: Advertise IPv6 support on the show-status page. X-Git-Tag: v_3_0_13~116 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=cf89cd7ace9007341dc8835f4b9c818dfb831666;ds=sidebyside Advertise IPv6 support on the show-status page. --- diff --git a/cgisimple.c b/cgisimple.c index 3d184ec8..585be2b6 100644 --- a/cgisimple.c +++ b/cgisimple.c @@ -1,4 +1,4 @@ -const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.90 2009/03/01 18:43:09 fabiankeil Exp $"; +const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.91 2009/03/08 14:19:23 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $ @@ -36,6 +36,10 @@ const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.90 2009/03/01 18:43:09 fabian * * Revisions : * $Log: cgisimple.c,v $ + * Revision 1.91 2009/03/08 14:19:23 fabiankeil + * Fix justified (but harmless) compiler warnings + * on platforms where sizeof(int) < sizeof(long). + * * Revision 1.90 2009/03/01 18:43:09 fabiankeil * Fix cparser warnings. * @@ -1944,6 +1948,12 @@ static jb_err show_defines(struct map *exports) if (!err) err = map_conditional(exports, "FEATURE_IMAGE_DETECT_MSIE", 0); #endif /* ndef FEATURE_IMAGE_DETECT_MSIE */ +#ifdef HAVE_RFC2553 + if (!err) err = map_conditional(exports, "FEATURE_IPV6_SUPPORT", 1); +#else /* ifndef HAVE_RFC2553 */ + if (!err) err = map_conditional(exports, "FEATURE_IPV6_SUPPORT", 0); +#endif /* ndef HAVE_RFC2553 */ + #ifdef FEATURE_NO_GIFS if (!err) err = map_conditional(exports, "FEATURE_NO_GIFS", 1); #else /* ifndef FEATURE_NO_GIFS */ diff --git a/templates/show-status b/templates/show-status index f71e2de1..2405c4c7 100644 --- a/templates/show-status +++ b/templates/show-status @@ -258,6 +258,14 @@ @if-FEATURE_IMAGE_BLOCKING-then@ Yes @else-not-FEATURE_IMAGE_BLOCKING@ No @endif-FEATURE_IMAGE_BLOCKING@ Allows the +handle-as-image action, to send blocked images instead of HTML. + + FEATURE_IPV6_SUPPORT + @if-FEATURE_IPV6_SUPPORT-then@ Yes @else-not-FEATURE_IPV6_SUPPORT@ No @endif-FEATURE_IPV6_SUPPORT@ + + Allows IPv6 addresses in incoming requests, when resolving domains to + IP addresses and in the configuration files. + + FEATURE_IMAGE_DETECT_MSIE @if-FEATURE_IMAGE_DETECT_MSIE-then@ Yes @else-not-FEATURE_IMAGE_DETECT_MSIE@ No @endif-FEATURE_IMAGE_DETECT_MSIE@