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 Jun 12, 2020
1 parent f0c3e79 commit fecc2f4
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 fecc2f4

Please sign in to comment.