diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-06-21 19:43:37 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-06-21 19:43:37 +0000 |
commit | 03fc185be761a1f24c6f5c1355fca97bf67d9a82 (patch) | |
tree | d7e6c8c0b9d1906bd53c3db802d5db9d45560bef /usr.sbin/ldpd/kroute.c | |
parent | 81d9e7d2151a2ed2b4d0e7a1b65133798b11b7fc (diff) |
Send the right kroute struct to ldpctl for IMSG_CTL_KROUTE. This should
fix printing of multipath routes.
Diffstat (limited to 'usr.sbin/ldpd/kroute.c')
-rw-r--r-- | usr.sbin/ldpd/kroute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldpd/kroute.c b/usr.sbin/ldpd/kroute.c index 46ad1f17ba2..677f789998a 100644 --- a/usr.sbin/ldpd/kroute.c +++ b/usr.sbin/ldpd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.13 2010/06/07 13:24:23 claudio Exp $ */ +/* $OpenBSD: kroute.c,v 1.14 2010/06/21 19:43:36 claudio Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -373,7 +373,7 @@ kr_show_route(struct imsg *imsg) do { main_imsg_compose_ldpe(IMSG_CTL_KROUTE, imsg->hdr.pid, - &kr->r, sizeof(kr->r)); + &kn->r, sizeof(kn->r)); } while ((kn = kn->next) != NULL); } break; |