[Rt-commit] rt branch, 4.0/ipv6-unspecified-address-fix, updated. rt-4.0.0-182-g30a2589

Alex Vandiver alexmv at bestpractical.com
Mon May 9 16:22:45 EDT 2011


The branch, 4.0/ipv6-unspecified-address-fix has been updated
       via  30a258971141dfa8ae0fc372f952878b1ff25435 (commit)
      from  304fac9762985dd548ee55b122f7ff09ee16325a (commit)

Summary of changes:
 lib/RT/ObjectCustomFieldValue.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 30a258971141dfa8ae0fc372f952878b1ff25435
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon May 9 16:22:42 2011 -0400

    Update the package variable, rather than making a new lexical

diff --git a/lib/RT/ObjectCustomFieldValue.pm b/lib/RT/ObjectCustomFieldValue.pm
index 893af32..c6c7882 100644
--- a/lib/RT/ObjectCustomFieldValue.pm
+++ b/lib/RT/ObjectCustomFieldValue.pm
@@ -57,7 +57,8 @@ use Regexp::IPv6 qw($IPv6_re);
 use Regexp::Common::net::CIDR;
 require Net::CIDR;
 
-my $IPv6_re = qr/(?:$IPv6_re|::)/;
+# Allow the empty IPv6 address
+$IPv6_re = qr/(?:$IPv6_re|::)/;
 
 
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list