From: Alan T. DeKok Date: Sat, 18 Jan 2025 23:03:49 +0000 (-0500) Subject: use :: for enum names X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ebe8f9b8095d6a712d20b31a40343dc6f0ab799;p=thirdparty%2Ffreeradius-server.git use :: for enum names --- diff --git a/src/bin/radwho.c b/src/bin/radwho.c index d52e7bf28a8..662d3989b02 100644 --- a/src/bin/radwho.c +++ b/src/bin/radwho.c @@ -460,7 +460,7 @@ int main(int argc, char **argv) fr_snprint(buffer, sizeof(buffer), session_id, -1, '"'); printf("Acct-Session-Id = \"%s\"\n", buffer); - if (zap) printf("Acct-Status-Type = Stop\n"); + if (zap) printf("Acct-Status-Type = ::Stop\n"); printf("NAS-IP-Address = %s\n", hostname(buffer, sizeof(buffer), @@ -469,17 +469,17 @@ int main(int argc, char **argv) switch (rt.proto) { case 'S': - printf("Service-Type = Framed-User\n"); - printf("Framed-Protocol = SLIP\n"); + printf("Service-Type = ::Framed-User\n"); + printf("Framed-Protocol = ::SLIP\n"); break; case 'P': - printf("Service-Type = Framed-User\n"); - printf("Framed-Protocol = PPP\n"); + printf("Service-Type = ::Framed-User\n"); + printf("Framed-Protocol = ::PPP\n"); break; default: - printf("Service-type = Login-User\n"); + printf("Service-type = ::Login-User\n"); break; } if (rt.framed_address != INADDR_NONE) {