summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-03-03 18:00:08 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-03-03 18:00:08 -0300
commitff9c579f37a278424f634cd30636ca88c15a28d3 (patch)
treedd27ba3ed756800adea4e4300056a6a4008185e2 /etc
parent48047e3fdc0f8d1b0846d494009b84b8135aa9dc (diff)
downloadpfsense-ff9c579f37a278424f634cd30636ca88c15a28d3.zip
pfsense-ff9c579f37a278424f634cd30636ca88c15a28d3.tar.gz
Fix syntax
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 14e9ed3..cfbbfb6 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -965,7 +965,7 @@ function interface_gif_configure(&$gif, $gifkey = "") {
if((is_ipaddrv6($gif['tunnel-local-addr'])) || (is_ipaddrv6($gif['tunnel-remote-addr']))) {
/* XXX: The prefixlen argument for tunnels of ipv6 is useless since it needs to be 128 as enforced by kernel */
//mwexec("/sbin/ifconfig {$gifif} inet6 " . escapeshellarg($gif['tunnel-local-addr']) . " " . escapeshellarg($gif['tunnel-remote-addr']) . " prefixlen /" . escapeshellarg($gif['tunnel-remote-net']));
- mwexec("/sbin/ifconfig {$gifif} inet6 " . escapeshellarg($gif['tunnel-local-addr']) . " " . escapeshellarg($gif['tunnel-remote-addr']) . " prefixlen 128);
+ mwexec("/sbin/ifconfig {$gifif} inet6 " . escapeshellarg($gif['tunnel-local-addr']) . " " . escapeshellarg($gif['tunnel-remote-addr']) . " prefixlen 128");
} else {
mwexec("/sbin/ifconfig {$gifif} " . escapeshellarg($gif['tunnel-local-addr']) . " " . escapeshellarg($gif['tunnel-remote-addr']) . " netmask " . gen_subnet_mask($gif['tunnel-remote-net']));
}
OpenPOWER on IntegriCloud