Skip to content

Commit

Permalink
Handle more unusual ipv6 route tables
Browse files Browse the repository at this point in the history
  • Loading branch information
jjohnson42 committed Jul 7, 2020
1 parent 4c3124d commit b6eaf5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xCAT-server/lib/xcat/plugins/networks.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6eaf5c

Please sign in to comment.