Tunnel detail: Fix comment
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
0fcf48ce75
commit
f5e5c7f17d
|
@ -96,7 +96,7 @@ extension TunnelDetailTableViewController {
|
||||||
let peerSectionIndex = (section - numberOfInterfaceSections) % numberOfPeerSections
|
let peerSectionIndex = (section - numberOfInterfaceSections) % numberOfPeerSections
|
||||||
return peerData.filterFieldsWithValueOrControl(peerFields: peerFieldsBySection[peerSectionIndex]).count
|
return peerData.filterFieldsWithValueOrControl(peerFields: peerFieldsBySection[peerSectionIndex]).count
|
||||||
} else {
|
} else {
|
||||||
// Add peer
|
// Delete tunnel
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue