summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-22 19:03:21 +0200
committerGitHub <noreply@github.com>2023-10-22 19:03:21 +0200
commit282c32d51e2d013410fd39e33feba6e657894971 (patch)
tree10d24e60167dfb6b5720fa32d0a97dfd6ccb47cd /src/conf_mode
parent4595bca31a6f507ecb1567807f36b42bb6fe0e38 (diff)
parent3356e26a6a58f924209b9d79ec52cb09bb4fb3ea (diff)
downloadvyos-1x-282c32d51e2d013410fd39e33feba6e657894971.tar.gz
vyos-1x-282c32d51e2d013410fd39e33feba6e657894971.zip
Merge pull request #2392 from vyos/mergify/bp/sagitta/pr-2386
vxlan: T5671: change port to IANA assigned default port (backport #2386)
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interfaces-vxlan.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-vxlan.py b/src/conf_mode/interfaces-vxlan.py
index 05f68112a..ff8144e74 100755
--- a/src/conf_mode/interfaces-vxlan.py
+++ b/src/conf_mode/interfaces-vxlan.py
@@ -168,6 +168,13 @@ def verify(vxlan):
verify_address(vxlan)
verify_bond_bridge_member(vxlan)
verify_mirror_redirect(vxlan)
+
+ # We use a defaultValue for port, thus it's always safe to use
+ if vxlan['port'] == '8472':
+ Warning('Starting from VyOS 1.4, the default port for VXLAN '\
+ 'has been changed to 4789. This matches the IANA assigned '\
+ 'standard port number!')
+
return None
def generate(vxlan):