RCS keywords don't make sense with git, so use the RADIUSD_VERSION
macro instead, like the server and radmin already do.

Signed-off-by: Bjørn Mork <bj...@mork.no>
---
 src/main/radclient.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/radclient.c b/src/main/radclient.c
index 1266502..8864798 100644
--- a/src/main/radclient.c
+++ b/src/main/radclient.c
@@ -927,7 +927,7 @@ int main(int argc, char **argv)
                        timeout = atof(optarg);
                        break;
                case 'v':
-                       printf("radclient: $Id$ built on " __DATE__ " at " 
__TIME__ "\n");
+                       printf("radclient " RADIUSD_VERSION " built on " 
__DATE__ " at " __TIME__ "\n");
                        exit(0);
                        break;
                case 'x':
-- 
1.7.1

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to