diff options
author | Renato Botelho <renato@netgate.com> | 2016-12-16 16:32:45 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-12-16 16:32:45 -0200 |
commit | 4a725adc6eb9bb73db282f33c51455b603a7806a (patch) | |
tree | c3df5db3b86093b8dc9347ae4ab390471d877f89 | |
parent | 45bcbee917920238248a2486a2742e3ff327b309 (diff) | |
parent | aa2b8133b3cdb90791b577a90361842cd97bb16b (diff) | |
download | pfsense-4a725adc6eb9bb73db282f33c51455b603a7806a.zip pfsense-4a725adc6eb9bb73db282f33c51455b603a7806a.tar.gz |
Merge pull request #3280 from phil-davis/patch-2
-rw-r--r-- | src/etc/inc/util.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/util.inc b/src/etc/inc/util.inc index 4213bc5..a309ce4 100644 --- a/src/etc/inc/util.inc +++ b/src/etc/inc/util.inc @@ -2502,7 +2502,7 @@ function validateipaddr(&$addr, $type, $label, &$err_msg, $alias=false) { if (is_ipaddrv6($addr)) { $addr = strtolower($addr); return true; - } else if($alias) { + } else if ($alias) { if (is_alias($addr)) { return true; } else { @@ -2520,7 +2520,7 @@ function validateipaddr(&$addr, $type, $label, &$err_msg, $alias=false) { return true; } else if (is_ipaddrv4($addr)) { return true; - } else if($alias) { + } else if ($alias) { if (is_alias($addr)) { return true; } else { |