Skip to content

Commit

Permalink
fix typo port type
Browse files Browse the repository at this point in the history
  • Loading branch information
cybwan committed Nov 11, 2023
1 parent e370be7 commit 44a51f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loxinet/port.go
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ func (P *PortsH) PortDestructAll() {
if p.SInfo.PortType&cmn.PortBondSif == cmn.PortBondSif {
bondSlaves = append(bondSlaves, p)
}
if p.SInfo.PortType&cmn.PortBondSif == cmn.PortBond {
if p.SInfo.PortType&cmn.PortBond == cmn.PortBond {
bonds = append(bonds, p)
}
if p.SInfo.PortType&cmn.PortVxlanSif == cmn.PortVxlanSif {
Expand Down

0 comments on commit 44a51f0

Please sign in to comment.