diff options
author | Phil Davis <phil.davis@inf.org> | 2016-12-20 22:42:42 +0545 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2016-12-20 12:02:50 -0500 |
commit | 809ff7c88a02cba8d4207e926d1295c1a80d4fd2 (patch) | |
tree | c7d0a3a9b5e3f7276c5dc4dc2ac6b5a8a67067dc /src/etc/inc | |
parent | ca83414616121b5912c50010379b0dafaa5e3920 (diff) | |
download | pfsense-809ff7c88a02cba8d4207e926d1295c1a80d4fd2.zip pfsense-809ff7c88a02cba8d4207e926d1295c1a80d4fd2.tar.gz |
validateipaddr update return value comments
(cherry picked from commit 74999ad8c4cd2ae5e96c4ae21ee09a246b0a029b)
Diffstat (limited to 'src/etc/inc')
-rw-r--r-- | src/etc/inc/util.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etc/inc/util.inc b/src/etc/inc/util.inc index 2b2ac66..e74001a 100644 --- a/src/etc/inc/util.inc +++ b/src/etc/inc/util.inc @@ -2501,9 +2501,9 @@ function get_smart_drive_list() { // $err_msg: pointer to the callers error message array so that error messages can be added to it here // $alias: are aliases permitted for this address? // Returns: -// 4 - if $addr is a valid IPv4 address -// 6 - if $addr is a valid IPv6 address -// 1 - if $alias=true and $addr is an alias +// IPV4 - if $addr is a valid IPv4 address +// IPV6 - if $addr is a valid IPv6 address +// ALIAS - if $alias=true and $addr is an alias // false - otherwise function validateipaddr(&$addr, $type, $label, &$err_msg, $alias=false) { |