diff options
Diffstat (limited to 'cli/state.rs')
-rw-r--r-- | cli/state.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/state.rs b/cli/state.rs index 950bdba70..ca64e6d6c 100644 --- a/cli/state.rs +++ b/cli/state.rs @@ -336,8 +336,8 @@ impl ThreadSafeState { } #[inline] - pub fn check_net(&self, host_and_port: &str) -> Result<(), ErrBox> { - self.permissions.check_net(host_and_port) + pub fn check_net(&self, hostname: &str, port: u16) -> Result<(), ErrBox> { + self.permissions.check_net(hostname, port) } #[inline] |