Documentation: Fix service dependency example.

Fixes #5243
This commit is contained in:
Michael Friedrich 2013-11-29 09:42:55 +01:00
parent cac4167e79
commit 1b6637b981

View File

@ -242,7 +242,7 @@ router's firewall.
templates = "generic-service", templates = "generic-service",
check_command = "ping4" check_command = "ping4"
} }
macros = { macros = {
address = "192.168.1.1", address = "192.168.1.1",
}, },
@ -251,10 +251,12 @@ router's firewall.
object Host "google-dns" { object Host "google-dns" {
services["ping4"] = { services["ping4"] = {
templates = "generic-service", templates = "generic-service",
check_command = "ping4" check_command = "ping4",
service_dependencies = { "dsl-router", "ping4" } service_dependencies = [
{ host = "dsl-router", service = "ping4" }
]
} }
macros = { macros = {
address = "8.8.8.8", address = "8.8.8.8",
}, },