summaryrefslogtreecommitdiff
path: root/docs/services
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-01-23 06:50:35 +0100
committerChristian Poessinger <christian@poessinger.com>2020-01-23 06:50:35 +0100
commit75899e2e86ee9ebbda18974bada53fdd53b33ed3 (patch)
tree4d07a972acfe1cbfa9e634540e28c302c5943a87 /docs/services
parent41d26cd0237aeb513043a545233ef2c5197d7629 (diff)
downloadvyos-documentation-75899e2e86ee9ebbda18974bada53fdd53b33ed3.tar.gz
vyos-documentation-75899e2e86ee9ebbda18974bada53fdd53b33ed3.zip
dhcp: remove example from cfgcmd definition
Diffstat (limited to 'docs/services')
-rw-r--r--docs/services/dhcp.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/services/dhcp.rst b/docs/services/dhcp.rst
index 77d693b0..2227b0f6 100644
--- a/docs/services/dhcp.rst
+++ b/docs/services/dhcp.rst
@@ -65,13 +65,13 @@ Configuration
This option can be specified multiple times.
-.. cfgcmd:: set service dhcp-server shared-network-name <name> subnet 192.0.2.0/24 domain-name <domain-name>
+.. cfgcmd:: set service dhcp-server shared-network-name <name> subnet <subnet> domain-name <domain-name>
The domain-name parameter should be the domain name that will be appended to
the client's hostname to form a fully-qualified domain-name (FQDN) (DHCP
Option 015).
-.. cfgcmd:: set service dhcp-server shared-network-name <name> subnet 192.0.2.0/24 domain-search <domain-name>
+.. cfgcmd:: set service dhcp-server shared-network-name <name> subnet <subnet> domain-search <domain-name>
The domain-name parameter should be the domain name used when completing DNS
request where no full FQDN is passed. This option can be given multiple times