summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn_pptp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-18 21:48:53 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-18 21:48:53 +0200
commite2f9f4f4e8b2e961a58d935d09798ddb4e1e0460 (patch)
tree8256fc409b678ade7a730c55c05206b7728c2378 /interface-definitions/vpn_pptp.xml.in
parenta4440bd589db645eb99f343a8163e188a700774c (diff)
downloadvyos-1x-e2f9f4f4e8b2e961a58d935d09798ddb4e1e0460.tar.gz
vyos-1x-e2f9f4f4e8b2e961a58d935d09798ddb4e1e0460.zip
dhcp-server: T3838: rename dns-server to name-server node
IPv4 DHCP uses "dns-server" to specify one or more name-servers for a given pool. In order to use the same CLI syntax this should be renamed to name-server, which is already the case for DHCPv6.
Diffstat (limited to 'interface-definitions/vpn_pptp.xml.in')
-rw-r--r--interface-definitions/vpn_pptp.xml.in14
1 files changed, 1 insertions, 13 deletions
diff --git a/interface-definitions/vpn_pptp.xml.in b/interface-definitions/vpn_pptp.xml.in
index dab317f68..0d1690013 100644
--- a/interface-definitions/vpn_pptp.xml.in
+++ b/interface-definitions/vpn_pptp.xml.in
@@ -22,19 +22,7 @@
</constraint>
</properties>
</leafNode>
- <leafNode name="name-server">
- <properties>
- <help>Domain Name Server (DNS) propagated to client</help>
- <valueHelp>
- <format>ipv4</format>
- <description>Domain Name Server (DNS) IPv4 address</description>
- </valueHelp>
- <constraint>
- <validator name="ipv4-address"/>
- </constraint>
- <multi/>
- </properties>
- </leafNode>
+ #include <include/name-server-ipv4.xml.i>
#include <include/accel-ppp/wins-server.xml.i>
<node name="client-ip-pool">
<properties>