mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-17 20:00:19 +00:00
Sync fix from ddns.pm to dhcp.pm for bug 3323752.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -1349,6 +1349,7 @@ sub getzonesfornet {
|
||||
die "Not supporting having a mask like $mask on an ipv6 network like $net";
|
||||
}
|
||||
my $netnum= getipaddr($net,GetNumber=>1);
|
||||
unless ($netnum) { return (); }
|
||||
$netnum->brsft(128-$maskbits);
|
||||
my $prefix=$netnum->as_hex();
|
||||
my $nibbs=$maskbits/4;
|
||||
|
Reference in New Issue
Block a user