summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-02 14:58:42 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-02 14:58:42 +0200
commitea10917897bb4478e7f6f576f2e1c42b134cc5c0 (patch)
treeee6b32b01831470ce3298f8e0c6b4dd39ac78e46 /interface-definitions
parent4803a3a169f83a7c6c9ba888d7a111a922e84467 (diff)
downloadvyos-1x-ea10917897bb4478e7f6f576f2e1c42b134cc5c0.tar.gz
vyos-1x-ea10917897bb4478e7f6f576f2e1c42b134cc5c0.zip
accel-ppp: T2756: make RADIUS accounting port configurable
Make the port used for RADIUS accounting user configurable. This is now valid for the following services which are based on Accel-PPP: * ipoe-server * pppoe-server * l2tp * pptp * sstp
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/accel-radius-additions.xml.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-radius-additions.xml.in b/interface-definitions/include/accel-radius-additions.xml.in
index 227a043cd..e37b68514 100644
--- a/interface-definitions/include/accel-radius-additions.xml.in
+++ b/interface-definitions/include/accel-radius-additions.xml.in
@@ -2,6 +2,18 @@
<children>
<tagNode name="server">
<children>
+ <leafNode name="acct-port">
+ <properties>
+ <help>Accounting port</help>
+ <valueHelp>
+ <format>1-65535</format>
+ <description>Numeric IP port (default: 1813)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
<leafNode name="fail-time">
<properties>
<help>Mark server unavailable for &lt;n&gt; seconds on failure</help>