ece29f92e7826ae8ce96175896915ed918c5ecda
[privoxy.git] / debian / patches / 28_listen_localhost.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 28_listen_localhost.dpatch by Roland Rosenfeld <roland@debian.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Listen on localhost:8118 instead of 127.0.0.1:8118, because
6 ## DP: this is independent from localhost IP (127.0.0.1 vs. 127.0.1.1)
7 ## DP: and also supports IPv6 (Closes: #512888)
8
9 @DPATCH@
10 diff -urNad privoxy~/config privoxy/config
11 --- privoxy~/config
12 +++ privoxy/config
13 @@ -727,7 +727,7 @@
14  #        listen-address  192.168.0.1:8118
15  #
16  #
17 -listen-address  127.0.0.1:8118
18 +listen-address  localhost:8118
19  #
20  #
21  #  4.2. toggle