summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-05-23 11:23:49 +0200
committerGitHub <noreply@github.com>2024-05-23 11:23:49 +0200
commit5678e37fd0b37b266330cf2d1fde79071a96bf2b (patch)
tree0d379e30773b37848bbdc533ce95edb4526d68ef /interface-definitions/include
parent0f551d2a1d58f46c8135f7e18becc8267222580d (diff)
parent7fe568ca1672f1dfbd2b56ee3ef7a6ab48b03070 (diff)
downloadvyos-1x-5678e37fd0b37b266330cf2d1fde79071a96bf2b.tar.gz
vyos-1x-5678e37fd0b37b266330cf2d1fde79071a96bf2b.zip
Merge pull request #3507 from c-po/nat-T6345
nat: T6345: source NAT port mapping "fully-random" is superfluous in Kernel >=5.0
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/nat-translation-options.xml.i8
-rw-r--r--interface-definitions/include/version/nat-version.xml.i2
2 files changed, 3 insertions, 7 deletions
diff --git a/interface-definitions/include/nat-translation-options.xml.i b/interface-definitions/include/nat-translation-options.xml.i
index 6b95de045..c8900590f 100644
--- a/interface-definitions/include/nat-translation-options.xml.i
+++ b/interface-definitions/include/nat-translation-options.xml.i
@@ -28,22 +28,18 @@
<properties>
<help>Port mapping options</help>
<completionHelp>
- <list>random fully-random none</list>
+ <list>random none</list>
</completionHelp>
<valueHelp>
<format>random</format>
<description>Randomize source port mapping</description>
</valueHelp>
<valueHelp>
- <format>fully-random</format>
- <description>Full port randomization</description>
- </valueHelp>
- <valueHelp>
<format>none</format>
<description>Do not apply port randomization</description>
</valueHelp>
<constraint>
- <regex>(random|fully-random|none)</regex>
+ <regex>(random|none)</regex>
</constraint>
</properties>
<defaultValue>none</defaultValue>
diff --git a/interface-definitions/include/version/nat-version.xml.i b/interface-definitions/include/version/nat-version.xml.i
index 656da6e14..173e91ed3 100644
--- a/interface-definitions/include/version/nat-version.xml.i
+++ b/interface-definitions/include/version/nat-version.xml.i
@@ -1,3 +1,3 @@
<!-- include start from include/version/nat-version.xml.i -->
-<syntaxVersion component='nat' version='7'></syntaxVersion>
+<syntaxVersion component='nat' version='8'></syntaxVersion>
<!-- include end -->