summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/system.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-10-12 12:37:45 -0300
committerRenato Botelho <renato@netgate.com>2016-10-12 12:37:45 -0300
commitec6e6666aa9692302553d44bf5888141065eb3b4 (patch)
tree2bb142108df06b74a87117cb6fd0f6910551d83e /src/etc/inc/system.inc
parent83f7fabde97457b8e50d4bf304c2c855f022118c (diff)
parentdaed7646d7e8e5d555676299ce660408b490ef81 (diff)
downloadpfsense-ec6e6666aa9692302553d44bf5888141065eb3b4.zip
pfsense-ec6e6666aa9692302553d44bf5888141065eb3b4.tar.gz
Merge pull request #3171 from phroggster/patch-2
Diffstat (limited to 'src/etc/inc/system.inc')
-rw-r--r--src/etc/inc/system.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/system.inc b/src/etc/inc/system.inc
index 74745a0..f25a861 100644
--- a/src/etc/inc/system.inc
+++ b/src/etc/inc/system.inc
@@ -1808,7 +1808,7 @@ function system_ntp_configure() {
foreach ($networkacl as $acl) {
$ntpcfg .= "\nrestrict ";
if (is_ipaddrv6($acl['acl_network'])) {
- $ntpcfg .= "-6 {$acl['acl_network']} mask " . gen_subnet_mask_v6($acl['mask']) . " ";
+ $ntpcfg .= "{$acl['acl_network']} mask " . gen_subnet_mask_v6($acl['mask']) . " ";
} elseif (is_ipaddrv4($acl['acl_network'])) {
$ntpcfg .= "{$acl['acl_network']} mask " . gen_subnet_mask($acl['mask']) . " ";
} else {
OpenPOWER on IntegriCloud