diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-01-06 15:16:38 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-01-06 15:17:13 -0200 |
commit | 3ffea31990655ee706c1885acfea17e29cd17261 (patch) | |
tree | 3f6a8a6b28057c5414c3f1d26f04519f448adbb2 /etc/inc/util.inc | |
parent | d9db486205e394ee61f35e0b25d23b771fa1c446 (diff) | |
download | pfsense-3ffea31990655ee706c1885acfea17e29cd17261.zip pfsense-3ffea31990655ee706c1885acfea17e29cd17261.tar.gz |
Remove some extra spaces
Diffstat (limited to 'etc/inc/util.inc')
-rw-r--r-- | etc/inc/util.inc | 4 |
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)) == '') |