aboutsummaryrefslogtreecommitdiffstats
path: root/community/ipcalc/fix-ipcalc-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/ipcalc/fix-ipcalc-path.patch')
-rw-r--r--community/ipcalc/fix-ipcalc-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/ipcalc/fix-ipcalc-path.patch b/community/ipcalc/fix-ipcalc-path.patch
new file mode 100644
index 0000000000..a3007a6c02
--- /dev/null
+++ b/community/ipcalc/fix-ipcalc-path.patch
@@ -0,0 +1,13 @@
+diff --git a/ipcalc.cgi b/ipcalc.cgi
+index b2829ff..d0dcde7 100755
+--- a/ipcalc.cgi
++++ b/ipcalc.cgi
+@@ -40,7 +40,7 @@
+ # 0.26 27.07.2006 Replaced REQUEST_URI with SCRIPT_URL to prevent cross-site-scripting attacks
+
+ $|=1;
+-$ipcalc = "/usr/local/bin/ipcalc";
++$ipcalc = "/usr/bin/ipcalc";
+ $MAIL_ADDRESS="ipcalc-200502@jodies.de";
+ # history:
+ # 200404