From 153f3579d703e16bbd0f82b1ac243f42c25af6bd Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Wed, 10 May 2023 09:19:11 +0000 Subject: T5213: Add accounting-interim-interval option for L2TP-server Add RADIUS accounting-interim-interval option for L2TP-server Specifies interval in seconds to send accounting information (may be overridden by radius Acct-Interim-Interval attribute) set vpn l2tp remote-access authentication radius accounting-interim-interval '120' --- .../accel-ppp/radius-accounting-interim-interval.xml.i | 15 +++++++++++++++ interface-definitions/vpn-l2tp.xml.in | 1 + 2 files changed, 16 insertions(+) create mode 100644 interface-definitions/include/accel-ppp/radius-accounting-interim-interval.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/accel-ppp/radius-accounting-interim-interval.xml.i b/interface-definitions/include/accel-ppp/radius-accounting-interim-interval.xml.i new file mode 100644 index 000000000..311ef969c --- /dev/null +++ b/interface-definitions/include/accel-ppp/radius-accounting-interim-interval.xml.i @@ -0,0 +1,15 @@ + + + + Interval in seconds to send accounting information + + u32:1-3600 + Interval in seconds to send accounting information + + + + + Interval value must be between 1 and 3600 seconds + + + diff --git a/interface-definitions/vpn-l2tp.xml.in b/interface-definitions/vpn-l2tp.xml.in index 6b64c5f5d..ec186cd23 100644 --- a/interface-definitions/vpn-l2tp.xml.in +++ b/interface-definitions/vpn-l2tp.xml.in @@ -177,6 +177,7 @@ #include + #include #include -- cgit v1.2.3