summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-03 13:54:21 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-03 13:54:21 +0200
commit2ad56363dc371de93171461e395cd14f326b7cbf (patch)
treee6be5a583d7ad3ac19e852829b83e52325cab13e
parent237a9bedbcb22adb38ccdc1db3e2a42f3db5987b (diff)
downloadvyos-1x-2ad56363dc371de93171461e395cd14f326b7cbf.tar.gz
vyos-1x-2ad56363dc371de93171461e395cd14f326b7cbf.zip
pppoe-server: T2936: three IPv6 name-servers are supported
-rwxr-xr-xsrc/conf_mode/service_pppoe-server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/service_pppoe-server.py b/src/conf_mode/service_pppoe-server.py
index b43e76f6d..8ed8c6812 100755
--- a/src/conf_mode/service_pppoe-server.py
+++ b/src/conf_mode/service_pppoe-server.py
@@ -134,7 +134,7 @@ def verify(pppoe):
'can be configured')
if 'name_server_ipv6' in pppoe:
- if len(pppoe['name_server_ipv6']) > 2:
+ if len(pppoe['name_server_ipv6']) > 3:
raise ConfigError('Not more then three IPv6 DNS name-servers ' \
'can be configured')