From 0548783dd32716f5c917173e44b9dd2e9ea6cd56 Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Thu, 31 Jan 2008 09:56:30 +0000 Subject: 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@ --- usr.sbin/relayctl/relayctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/relayctl') 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 @@ -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) -- cgit v1.2.3