Skip to content

Commit

Permalink
revert previous
Browse files Browse the repository at this point in the history
  • Loading branch information
scareything committed Sep 29, 2023
1 parent 018edd0 commit e14f647
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Network/ZitiTunnelDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,11 @@ class ZitiTunnelDelegate: NSObject, CZiti.ZitiTunnelProvider {
}

private func canDial(_ eSvc:CZiti.ZitiService) -> Bool {
return (UInt32(eSvc.permFlags ?? 0x0) & Ziti.ZITI_CAN_DIAL != 0) && (eSvc.interceptConfigV1 != nil || eSvc.tunnelClientConfigV1 != nil)
return (Int(eSvc.permFlags ?? 0x0) & Ziti.ZITI_CAN_DIAL != 0) && (eSvc.interceptConfigV1 != nil || eSvc.tunnelClientConfigV1 != nil)
}

private func canBind(_ eSvc:CZiti.ZitiService) -> Bool {
return (UInt32(eSvc.permFlags ?? 0x0) & Ziti.ZITI_CAN_BIND != 0) && (eSvc.hostConfigV1 != nil || eSvc.tunnelServerConfigV1 != nil)
return (Int(eSvc.permFlags ?? 0x0) & Ziti.ZITI_CAN_BIND != 0) && (eSvc.hostConfigV1 != nil || eSvc.tunnelServerConfigV1 != nil)
}

private func evalPostureCheckStatus(_ tzid:ZitiIdentity, _ zSvc:ZitiService) {
Expand Down

0 comments on commit e14f647

Please sign in to comment.