diff options
Diffstat (limited to 'usr.sbin/relayd/pfe_route.c')
-rw-r--r-- | usr.sbin/relayd/pfe_route.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/relayd/pfe_route.c b/usr.sbin/relayd/pfe_route.c index fa5336425d6..731060e2746 100644 --- a/usr.sbin/relayd/pfe_route.c +++ b/usr.sbin/relayd/pfe_route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfe_route.c,v 1.9 2015/01/22 17:42:09 reyk Exp $ */ +/* $OpenBSD: pfe_route.c,v 1.10 2015/12/02 13:41:27 reyk Exp $ */ /* * Copyright (c) 2009 - 2011 Reyk Floeter <reyk@openbsd.org> @@ -97,8 +97,8 @@ sync_routes(struct relayd *env, struct router *rt) memcpy(&crt.host, &host->conf, sizeof(host->conf)); memcpy(&crt.rt, &rt->rt_conf, sizeof(rt->rt_conf)); - proc_compose_imsg(env->sc_ps, PROC_PARENT, -1, - IMSG_RTMSG, -1, &crt, sizeof(crt)); + proc_compose(env->sc_ps, PROC_PARENT, + IMSG_RTMSG, &crt, sizeof(crt)); } } } |