diff options
Diffstat (limited to 'usr.sbin/relayd/relayd.c')
-rw-r--r-- | usr.sbin/relayd/relayd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/relayd/relayd.c b/usr.sbin/relayd/relayd.c index a9743252d37..94a938c74ea 100644 --- a/usr.sbin/relayd/relayd.c +++ b/usr.sbin/relayd/relayd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relayd.c,v 1.24 2007/05/28 22:11:33 pyr Exp $ */ +/* $OpenBSD: relayd.c,v 1.25 2007/05/29 00:21:10 pyr Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org> @@ -596,7 +596,7 @@ relay_find(struct hoststated *env, objid_t id) struct relay *rlay; TAILQ_FOREACH(rlay, &env->relays, entry) - if (rlay->id == id) + if (rlay->conf.id == id) return (rlay); return (NULL); } @@ -655,7 +655,7 @@ relay_findbyname(struct hoststated *env, const char *name) struct relay *rlay; TAILQ_FOREACH(rlay, &env->relays, entry) - if (strcmp(rlay->name, name) == 0) + if (strcmp(rlay->conf.name, name) == 0) return (rlay); return (NULL); } |