summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorShawn Wilsher <656602+sdwilsh@users.noreply.github.com>2021-04-13 20:14:30 -0700
committerrebortg <github@ghlr.de>2021-04-14 20:25:26 +0200
commit7fd70a9f6bceb97e51ca1db40dd526d3c0739699 (patch)
tree28eb1eb1865f98d6adcc0ba58d2f03e9e06ce154 /docs
parent85a1523143321f5a03753d27873a412f20fcf3f0 (diff)
downloadvyos-documentation-7fd70a9f6bceb97e51ca1db40dd526d3c0739699.tar.gz
vyos-documentation-7fd70a9f6bceb97e51ca1db40dd526d3c0739699.zip
Fix DHCP address syntax
`dhcp` and `dhcpv6` were missing the `address` part of the line, and the command does not work. Tested in 1.3.0 rc1 (cherry picked from commit 51b4f6d87f656a7aaa13be3eb3f10a08586ab538)
Diffstat (limited to 'docs')
-rw-r--r--docs/_include/interface-address-with-dhcp.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_include/interface-address-with-dhcp.txt b/docs/_include/interface-address-with-dhcp.txt
index 4ff78c01..de51a887 100644
--- a/docs/_include/interface-address-with-dhcp.txt
+++ b/docs/_include/interface-address-with-dhcp.txt
@@ -17,5 +17,5 @@
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} address 192.0.2.1/24
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} address 2001:db8::1/64
- set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} dhcp
- set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} dhcpv6 \ No newline at end of file
+ set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} address dhcp
+ set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} address dhcpv6