summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-01-06 15:16:38 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-01-06 15:16:38 -0200
commit3bad469105022cd6fc6054ed9fd98ccda0b6cd56 (patch)
treec0a89ec0fea933d8452fdd60b0c50f91d206c04e
parent3f499654983079045226918907c882376419c4fa (diff)
downloadpfsense-3bad469105022cd6fc6054ed9fd98ccda0b6cd56.zip
pfsense-3bad469105022cd6fc6054ed9fd98ccda0b6cd56.tar.gz
Remove some extra spaces
-rw-r--r--etc/inc/util.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index 1a27706..f8ca793 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -318,7 +318,7 @@ function gen_subnet($ipaddr, $bits) {
$sn = gen_subnetv4($ipaddr, $bits); // try to avoid rechecking IPv4/v6
return $sn;
}
-
+
/* same as gen_subnet() but accepts IPv4 only */
function gen_subnetv4($ipaddr, $bits) {
if (is_ipaddrv4($ipaddr) && is_numericint($bits) && $bits <= 32) {
@@ -336,7 +336,7 @@ function gen_subnetv6($ipaddr, $bits) {
return "";
}
-/* Generate the (human readable) ipv4 or ipv6 subnet end address (i.e., highest address, end IP, or IPv4 broadcast address)
+/* Generate the (human readable) ipv4 or ipv6 subnet end address (i.e., highest address, end IP, or IPv4 broadcast address)
given an (human readable) ipv4 or ipv6 host address and subnet bit count. */
function gen_subnet_max($ipaddr, $bits) {
if (($sn = gen_subnetv6_max($ipaddr, $bits)) == '')
OpenPOWER on IntegriCloud