add example for any ipv4 address

This commit is contained in:
Joshua Foster 2020-06-04 12:15:53 -04:00
parent 1fb22a7b7b
commit 27a1ceef6d
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ type WaitIpConfig struct {
// for full details. // for full details.
SettleTimeout time.Duration `mapstructure:"ip_settle_timeout"` SettleTimeout time.Duration `mapstructure:"ip_settle_timeout"`
// Set this to a CIDR address. This will cause the service to wait for an address that is contained in // Set this to a CIDR address. This will cause the service to wait for an address that is contained in
// this network. Example: "192.168.0.0/24" would look at the address if it was "192.168.0.1". // this network. Use "0.0.0.0/0" to wait for any ipv4 address.
WaitAddress string `mapstructure:"ip_wait_address"` WaitAddress string `mapstructure:"ip_wait_address"`
ipnet *net.IPNet ipnet *net.IPNet

View File

@ -13,5 +13,5 @@
for full details. for full details.
- `ip_wait_address` (string) - Set this to a CIDR address. This will cause the service to wait for an address that is contained in - `ip_wait_address` (string) - Set this to a CIDR address. This will cause the service to wait for an address that is contained in
this network. Example: "192.168.0.0/24" would look at the address if it was "192.168.0.1". this network. Use "0.0.0.0/0" to wait for any ipv4 address.