Skip to content

Commit

Permalink
Fix nic.members not existing for non-aggregate interfaces. (#1248) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sparkiegeek authored and squidsoup committed Jun 14, 2020
1 parent 1ea774c commit eaff575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legacy/src/app/controllers/node_details_networking.js
Original file line number Diff line number Diff line change
Expand Up @@ -2463,7 +2463,7 @@ export function NodeNetworkingController(
return;
}

if (nic.type === 'alias' && nic.members.length) {
if (nic.type === 'alias' && nic.members && nic.members.length) {
return nic.members.some((member) => member.link_connected);
}
return nic.link_connected;
Expand Down

0 comments on commit eaff575

Please sign in to comment.