mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-01-11 10:52:41 +00:00
Handle more unusual ipv6 route tables
This commit is contained in:
@@ -388,7 +388,7 @@ sub donets
|
||||
foreach (@ip6table)
|
||||
{
|
||||
my @ent = split /\s+/, $_;
|
||||
if ($ent[0] =~ m/^fe80::/ or $ent[0] eq 'unreachable' or
|
||||
if ($ent[0] =~ m/^fe80::/ or $ent[0] eq 'unreachable' or $ent[1] eq 'nexthop' or $ent[0] eq 'default' or
|
||||
$ent[1] eq 'via' or $ent[2] eq 'lo') {
|
||||
#Do not contemplate link-local, unreachable, gatewayed networks,
|
||||
# or networks connected to loopback interface
|
||||
|
||||
Reference in New Issue
Block a user