# Function command::object::local_address_ok

> A `local_network` entry: `host:port` exactly, where host is `localhost`, an IPv4 literal, a bracketed IPv6 literal or a lowercase DNS name, and port 1-65535 without a leading zero.

`zaun_community_protocol::command::object::local_address_ok` · Function

```rust
pub fn local_address_ok(addr: &str) -> bool
```

A `local_network` entry: `host:port` exactly, where host is `localhost`, an IPv4
literal, a bracketed IPv6 literal or a lowercase DNS name, and port 1-65535 without a
leading zero. No scheme, path or wildcard.

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/bot/check/fn.local_address_ok.html)
