summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-03-15 20:36:12 -0500
committerJohn Estabrook <jestabro@vyos.io>2020-03-15 20:36:12 -0500
commit496bd8223913cd0a91229eb4142d7211b176bc4f (patch)
tree6fa84bcf223b576e977237881fb2fe7dbd2bc964 /src
parent7e7cb89720a97dceadeb1b4d4e8002e94c4414ac (diff)
downloadvyos-1x-496bd8223913cd0a91229eb4142d7211b176bc4f.tar.gz
vyos-1x-496bd8223913cd0a91229eb4142d7211b176bc4f.zip
ntp: T1803: Revert "T1694 NTPd: Do not listen on all interfaces by default"
This reverts commit 3d396586ee953c708465e00b6fef5d1f520d587c.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/ntp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/ntp.py b/src/conf_mode/ntp.py
index 65bd388bf..68a046939 100755
--- a/src/conf_mode/ntp.py
+++ b/src/conf_mode/ntp.py
@@ -41,8 +41,7 @@ restrict default noquery nopeer notrap nomodify
restrict 127.0.0.1
restrict -6 ::1
-# Do not listen on any interface address by default
-interface ignore wildcard
+
#
# Configurable section
#
@@ -65,6 +64,7 @@ restrict {{ n.address }} mask {{ n.netmask }} nomodify notrap nopeer
{% if listen_address -%}
# NTP should listen on configured addresses only
+interface ignore wildcard
{% for a in listen_address -%}
interface listen {{ a }}
{% endfor -%}