From 0993d9ed9fbbd2110a4911d10fc0b42c7ee8856e Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 1 Apr 2023 10:51:09 +0200 Subject: xml: allow-client: T5126: re-use new building block also for NTP service --- interface-definitions/include/allow-client.xml.i | 68 ++++++++++++------------ interface-definitions/ntp.xml.in | 34 +----------- 2 files changed, 36 insertions(+), 66 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/include/allow-client.xml.i b/interface-definitions/include/allow-client.xml.i index 03a0b3ff8..1b06e2c17 100644 --- a/interface-definitions/include/allow-client.xml.i +++ b/interface-definitions/include/allow-client.xml.i @@ -1,33 +1,35 @@ - - - Restrict to allowed IP client addresses - - - - - Allowed IP client addresses - - ipv4 - IPv4 address - - - ipv6 - IPv6 address - - - ipv4net - IPv4 address and prefix length - - - ipv6net - IPv6 address and prefix length - - - - - - - - - - + + + + Restrict to allowed IP client addresses + + + + + Allowed IP client addresses + + ipv4 + IPv4 address + + + ipv6 + IPv6 address + + + ipv4net + IPv4 address and prefix length + + + ipv6net + IPv6 address and prefix length + + + + + + + + + + + diff --git a/interface-definitions/ntp.xml.in b/interface-definitions/ntp.xml.in index 287401ed6..558204a06 100644 --- a/interface-definitions/ntp.xml.in +++ b/interface-definitions/ntp.xml.in @@ -57,39 +57,7 @@ - - - Specify NTP clients allowed to access the server - - - - - IP address - - ipv4 - Allowed IPv4 address - - - ipv4net - Allowed IPv4 prefix - - - ipv6 - Allowed IPv6 address - - - ipv6net - Allowed IPv6 prefix - - - - - - - - - - + #include #include #include #include -- cgit v1.2.3