mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-04 09:18:17 +00:00
Do not add any link local address to networks table
This commit is contained in:
@@ -391,7 +391,7 @@ sub donets
|
||||
foreach (@ip6table)
|
||||
{
|
||||
my @ent = split /\s+/, $_;
|
||||
if ($ent[0] eq 'fe80::/64' or $ent[0] eq 'unreachable' or $ent[1] eq 'via') {
|
||||
if ($ent[0] =~ m/^fe80::/ or $ent[0] eq 'unreachable' or $ent[1] eq 'via') {
|
||||
|
||||
#Do not contemplate link-local, unreachable, or gatewayed networks further
|
||||
#DHCPv6 relay will be manually entered into networks as was the case for IPv4
|
||||
|
Reference in New Issue
Block a user