summaryrefslogtreecommitdiff
path: root/usr.sbin/relayctl
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2008-01-31 09:56:30 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2008-01-31 09:56:30 +0000
commit0548783dd32716f5c917173e44b9dd2e9ea6cd56 (patch)
tree29af0c0962e1fc2cfaee13cf6e40a81d18f2cec9 /usr.sbin/relayctl
parentdb36350faf7c9e1b9d9703c1290951d106211304 (diff)
add prefixes to names of structure elements to make it easier to grep
for code, next struct relay. knf long line fixes will follow later. ok thib@
Diffstat (limited to 'usr.sbin/relayctl')
-rw-r--r--usr.sbin/relayctl/relayctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/relayctl/relayctl.c b/usr.sbin/relayctl/relayctl.c
index b0a8c5b1c6e..83aee0b65b2 100644
--- a/usr.sbin/relayctl/relayctl.c
+++ b/usr.sbin/relayctl/relayctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayctl.c,v 1.31 2007/12/20 20:15:43 reyk Exp $ */
+/* $OpenBSD: relayctl.c,v 1.32 2008/01/31 09:56:29 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -353,8 +353,8 @@ show_summary_msg(struct imsg *imsg, int type)
break;
rlay = imsg->data;
printf("%-4u\t%-8s\t%-24s\t%-7s\t%s\n",
- rlay->conf.id, "relay", rlay->conf.name, "",
- print_relay_status(rlay->conf.flags));
+ rlay->rl_conf.id, "relay", rlay->rl_conf.name, "",
+ print_relay_status(rlay->rl_conf.flags));
break;
case IMSG_CTL_RDR_STATS:
if (type != SHOW_RDRS)