mirror of
https://github.com/cubixle/radius-rs.git
synced 2026-04-30 17:08:45 +01:00
fmt
This commit is contained in:
@@ -1,19 +1,15 @@
|
||||
// Code generated by machine generator; DO NOT EDIT.
|
||||
|
||||
|
||||
|
||||
use crate::attribute::Attribute;
|
||||
use crate::attributes::AVPType;
|
||||
use crate::packet::Packet;
|
||||
|
||||
|
||||
pub type AcctAuthentic = u32;
|
||||
pub const ACCT_AUTHENTIC_RADIUS: AcctAuthentic = 1;
|
||||
pub const ACCT_AUTHENTIC_LOCAL: AcctAuthentic = 2;
|
||||
pub const ACCT_AUTHENTIC_REMOTE: AcctAuthentic = 3;
|
||||
pub const ACCT_AUTHENTIC_DIAMETER: AcctAuthentic = 4;
|
||||
|
||||
|
||||
pub type AcctStatusType = u32;
|
||||
pub const ACCT_STATUS_TYPE_START: AcctStatusType = 1;
|
||||
pub const ACCT_STATUS_TYPE_STOP: AcctStatusType = 2;
|
||||
@@ -23,7 +19,6 @@ pub const ACCT_STATUS_TYPE_ACCOUNTING_ON: AcctStatusType = 7;
|
||||
pub const ACCT_STATUS_TYPE_ACCOUNTING_OFF: AcctStatusType = 8;
|
||||
pub const ACCT_STATUS_TYPE_FAILED: AcctStatusType = 15;
|
||||
|
||||
|
||||
pub type AcctTerminateCause = u32;
|
||||
pub const ACCT_TERMINATE_CAUSE_USER_REQUEST: AcctTerminateCause = 1;
|
||||
pub const ACCT_TERMINATE_CAUSE_LOST_CARRIER: AcctTerminateCause = 2;
|
||||
@@ -44,7 +39,6 @@ pub const ACCT_TERMINATE_CAUSE_CALLBACK: AcctTerminateCause = 16;
|
||||
pub const ACCT_TERMINATE_CAUSE_USER_ERROR: AcctTerminateCause = 17;
|
||||
pub const ACCT_TERMINATE_CAUSE_HOST_REQUEST: AcctTerminateCause = 18;
|
||||
|
||||
|
||||
pub const ACCT_STATUS_TYPE_TYPE: AVPType = 40;
|
||||
pub fn delete_acct_status_type(packet: &mut Packet) {
|
||||
packet.delete(ACCT_STATUS_TYPE_TYPE);
|
||||
|
||||
Reference in New Issue
Block a user