Skip to content
Browse files

Fixed: Can't call method "getAddrVersion" on an undefined value (Ifup…

…down init provider)
  • Loading branch information...
nuxwin committed Dec 6, 2018
1 parent 144f513 commit e8b8b30a5e0313b891f9f7e9707c334f5bad1956
Showing with 3 additions and 1 deletion.
  1. +1 −0 CHANGELOG
  2. +2 −1 engine/PerlLib/iMSCP/Provider/Networking/Persistence/
@@ -12,6 +12,7 @@ BACKEND
Fixed: Mask/Unmask units after/prior disabling/enabling them (Systemd init provider)
Fixed: Missing support for various systemd unit files such as device, mount point, swap file... (Systemd init provider)
Fixed: Resolve units before acting on them due to (Systemd init provider)
Fixed: SHA384 is not supported by your openssl extension, could not verify the phar file integrity (Composer)
Fixed: Use of uninitialized value in bitwise or ( |) (PHP memory_limit, Subdomain module)
Fixed: Virtual (aliased) interfaces (interface:integer) is an IFCONFIG(8) specific concept. IFCONFIG(8) is deprecated in favor of IP(8).
Review: Make use of a well-known (fixed) composer.phar version (1.8.0)
@@ -29,6 +29,7 @@ use Carp 'croak';
use iMSCP::Boolean;
use iMSCP::Debug 'getMessageByType';
use iMSCP::File;
use iMSCP::Net;
use iMSCP::ProgramFinder;
use iMSCP::Service;
use iMSCP::TemplateParser 'replaceBloc';
@@ -131,7 +132,7 @@ sub _updateConfig

if ( $action eq 'add' ) {
my $addrVersion = $self->{'net'}->getAddrVersion( $data->{'ip_address'} );
my $addrVersion = iMSCP::Net->getInstance()->getAddrVersion( $data->{'ip_address'} );
${ $fileCR } .= <<"EOF";
# i-MSCP [$data->{'ip_address'}] entry BEGIN.

0 comments on commit e8b8b30

Please sign in to comment.
You can’t perform that action at this time.