Skip to content

Commit

Permalink
Update packages/xo-web/src/xo-app/new/network/index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Mathieu <[email protected]>
  • Loading branch information
MelissaFrncJrg and MathieuRA authored Dec 11, 2024
1 parent df58e0c commit 61081ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/xo-web/src/xo-app/new/network/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ If and only if the PIF:
For more info see: https://xapi-project.github.io/xapi/design/tunnelling.html
*/
const canSupportPrivateNetwork = (pool, pif) =>
pool === undefined
pool !== undefined &&
pif !== undefined &&
? false
: (pif.isBondMaster || pif.physical || pif.vlan !== -1) &&
pif.mode !== 'None' &&
Expand Down

0 comments on commit 61081ee

Please sign in to comment.