Skip to content

Commit 7930aaf

Browse files
committed
add :: to enum names
1 parent adb8b28 commit 7930aaf

File tree

5 files changed

+23
-23
lines changed

5 files changed

+23
-23
lines changed

raddb/mods-config/attr_filter/post-proxy

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#
4545
#fisp
4646
# Service-Type == ::Framed-User,
47-
# Framed-Protocol == PPP,
47+
# Framed-Protocol == ::PPP,
4848
# Framed-IP-Address == 255.255.255.254,
4949
# Idle-Timeout <= 600,
5050
# Session-Timeout <= 28800
@@ -62,7 +62,7 @@
6262
#
6363
#tisp
6464
# Service-Type == ::Login-User,
65-
# Login-Service == Telnet,
65+
# Login-Service == ::Telnet,
6666
# Login-TCP-Port == 23,
6767
# Login-IP-Host == 192.0.2.1,
6868
# Login-IP-Host == 192.0.2.2
@@ -103,15 +103,15 @@
103103
DEFAULT
104104
Service-Type == ::Framed-User,
105105
Service-Type == ::Login-User,
106-
Login-Service == Telnet,
107-
Login-Service == Rlogin,
108-
Login-Service == TCP-Clear,
106+
Login-Service == ::Telnet,
107+
Login-Service == ::Rlogin,
108+
Login-Service == ::TCP-Clear,
109109
Login-TCP-Port <= 65536,
110110
Framed-IP-Address == 255.255.255.254,
111111
Framed-IP-Netmask == 255.255.255.255,
112-
Framed-Protocol == PPP,
113-
Framed-Protocol == SLIP,
114-
Framed-Compression == Van-Jacobson-TCP-IP,
112+
Framed-Protocol == ::PPP,
113+
Framed-Protocol == ::SLIP,
114+
Framed-Compression == ::Van-Jacobson-TCP-IP,
115115
Framed-MTU >= 576,
116116
Framed-Filter-ID =* ANY,
117117
Reply-Message =* ANY,

raddb/mods-config/files/authorize

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@
5959
#
6060
#steve Password.Cleartext := "testing"
6161
# Service-Type = ::Framed-User,
62-
# Framed-Protocol = PPP,
62+
# Framed-Protocol = ::PPP,
6363
# Framed-IP-Address = 172.16.3.33,
6464
# Framed-IP-Netmask = 255.255.255.0,
65-
# Framed-Routing = Broadcast-Listen,
65+
# Framed-Routing = ::Broadcast-Listen,
6666
# Framed-Filter-Id = "std.ppp",
6767
# Framed-MTU = 1500,
68-
# Framed-Compression = Van-Jacobsen-TCP-IP
68+
# Framed-Compression = ::Van-Jacobsen-TCP-IP
6969

7070
#
7171
# The canonical testing user which is in most of the
@@ -138,16 +138,16 @@
138138
#
139139
# Default for PPP: dynamic IP address, PPP mode, VJ-compression.
140140
#
141-
DEFAULT Framed-Protocol == PPP
142-
Framed-Protocol = PPP,
143-
Framed-Compression = Van-Jacobson-TCP-IP
141+
DEFAULT Framed-Protocol == ::PPP
142+
Framed-Protocol = ::PPP,
143+
Framed-Compression = ::Van-Jacobson-TCP-IP
144144

145145
#
146146
# Last default: rlogin to our main server.
147147
#
148148
#DEFAULT
149149
# Service-Type = ::Login-User,
150-
# Login-Service = Rlogin,
150+
# Login-Service = ::Rlogin,
151151
# Login-IP-Host = shellbox.ispdomain.com
152152

153153
# #

raddb/policy.d/control

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# then use the "do_not_respond" policy.
44
#
55
do_not_respond {
6-
&reply.Packet-Type := Do-Not-Respond
6+
&reply.Packet-Type := ::Do-Not-Respond
77

88
handled
99
}
@@ -12,7 +12,7 @@ do_not_respond {
1212
# Send Access-Accept immediately
1313
#
1414
accept {
15-
&reply.Packet-Type := Access-Accept
15+
&reply.Packet-Type := ::Access-Accept
1616

1717
handled
1818
}
@@ -21,7 +21,7 @@ accept {
2121
# Send Access-Challenge immediately
2222
#
2323
challenge {
24-
&reply.Packet-Type := Access-Challenge
24+
&reply.Packet-Type := ::Access-Challenge
2525

2626
handled
2727
}
@@ -30,7 +30,7 @@ challenge {
3030
# Send an Accounting-Response immediately
3131
#
3232
acct_response {
33-
&reply.Packet-Type := Accounting-Response
33+
&reply.Packet-Type := ::Accounting-Response
3434

3535
handled
3636
}
@@ -52,7 +52,7 @@ protocol_error {
5252
# Discard the packet without replying
5353
#
5454
discard {
55-
&reply.Packet-Type := Do-Not-Respond
55+
&reply.Packet-Type := ::Do-Not-Respond
5656

5757
handled
5858
}

src/tests/detail/config/radiusd.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ server default {
8484
}
8585

8686
recv Accounting-Request {
87-
if (&Acct-Status-Type == Start) {
87+
if (Acct-Status-Type == ::Start) {
8888
detail
8989
}
9090
ok

src/tests/tacacs/config/radiusd.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ server test {
158158

159159
recv Authorization-Request {
160160
if (&User-Name == "tapioca") {
161-
&reply.Authorization-Status := Pass-Add
161+
&reply.Authorization-Status := ::Pass-Add
162162
&reply.Server-Message := "Authorization-Request accepted"
163163

164164
&control.Auth-Type := ::Accept
@@ -198,7 +198,7 @@ server test {
198198
}
199199

200200
send Accounting-Success {
201-
&reply.Accounting-Status := Success
201+
&reply.Accounting-Status := ::Success
202202
&reply.Data := 0x12
203203
}
204204
}

0 commit comments

Comments
 (0)