Skip to content

Commit 8ec055b

Browse files
committed
use :: for enum names
1 parent bdba810 commit 8ec055b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/bin/radwho.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ int main(int argc, char **argv)
460460
fr_snprint(buffer, sizeof(buffer), session_id, -1, '"');
461461
printf("Acct-Session-Id = \"%s\"\n", buffer);
462462

463-
if (zap) printf("Acct-Status-Type = Stop\n");
463+
if (zap) printf("Acct-Status-Type = ::Stop\n");
464464

465465
printf("NAS-IP-Address = %s\n",
466466
hostname(buffer, sizeof(buffer),
@@ -469,17 +469,17 @@ int main(int argc, char **argv)
469469

470470
switch (rt.proto) {
471471
case 'S':
472-
printf("Service-Type = Framed-User\n");
473-
printf("Framed-Protocol = SLIP\n");
472+
printf("Service-Type = ::Framed-User\n");
473+
printf("Framed-Protocol = ::SLIP\n");
474474
break;
475475

476476
case 'P':
477-
printf("Service-Type = Framed-User\n");
478-
printf("Framed-Protocol = PPP\n");
477+
printf("Service-Type = ::Framed-User\n");
478+
printf("Framed-Protocol = ::PPP\n");
479479
break;
480480

481481
default:
482-
printf("Service-type = Login-User\n");
482+
printf("Service-type = ::Login-User\n");
483483
break;
484484
}
485485
if (rt.framed_address != INADDR_NONE) {

0 commit comments

Comments
 (0)