2
0
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:
Jarrod Johnson
2018-03-05 14:00:25 -05:00
parent 0e070cd2fd
commit 8b79cf8535

View File

@@ -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