projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a79d4b9
)
Print home servers, too
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 18 Sep 2008 06:08:22 +0000
(08:08 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 18 Sep 2008 06:08:22 +0000
(08:08 +0200)
src/main/command.c
patch
|
blob
|
history
diff --git
a/src/main/command.c
b/src/main/command.c
index
16456e4
..
8c4302d
100644
(file)
--- a/
src/main/command.c
+++ b/
src/main/command.c
@@
-568,8
+568,8
@@
static int command_show_home_servers(rad_listen_t *listener, UNUSED int argc, UN
if (home->type == HOME_TYPE_AUTH) {
type = "auth";
- } else if (home->type == HOME_TYPE_A
UTH
) {
- type = "a
uth
";
+ } else if (home->type == HOME_TYPE_A
CCT
) {
+ type = "a
cct
";
} else continue;
@@
-584,7
+584,7
@@
static int command_show_home_servers(rad_listen_t *listener, UNUSED int argc, UN
} else continue;
- cprintf(listener, "
\t
%s\t%d\t%s\t%s\t%d\n",
+ cprintf(listener, "%s\t%d\t%s\t%s\t%d\n",
ip_ntoh(&home->ipaddr, buffer, sizeof(buffer)),
home->port, type, state,
home->currently_outstanding);