diff options
author | John Estabrook <jestabro@vyos.io> | 2020-03-15 20:28:42 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2020-03-15 20:32:04 -0500 |
commit | f20ffaf1b493a42adafdc9db09c8c5af3bee1b14 (patch) | |
tree | 4737219a771b2f082549ebf310a2659b96e825eb | |
parent | 3b8e691566bd12e931f57ac8e6a0a22dadc39da3 (diff) | |
download | vyos-1x-f20ffaf1b493a42adafdc9db09c8c5af3bee1b14.tar.gz vyos-1x-f20ffaf1b493a42adafdc9db09c8c5af3bee1b14.zip |
ntp: T1803: Revert "T1694 NTPd: Do not listen on all interfaces by default"
This reverts commit 258c24ab9be8aa4ced8bfa1c19f134ec8bbfb1a0.
-rwxr-xr-x | src/conf_mode/ntp.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conf_mode/ntp.py b/src/conf_mode/ntp.py index 8f32e6e81..f706d502f 100755 --- a/src/conf_mode/ntp.py +++ b/src/conf_mode/ntp.py @@ -42,8 +42,6 @@ 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 +63,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 -%} |