diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2010-07-06 13:24:36 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2010-07-06 13:24:36 +0000 |
commit | 72ff432b05a3fe04daeb3113c20b8b7a9fbb95c3 (patch) | |
tree | f632fe60e2cd83d859214064ca4b9a27b8d6bfcb /usr.sbin/ospf6d/ospf6d.c | |
parent | 2675efa10ed07026962e820c93ce1eb16461f11d (diff) |
Update the interfaces changes from kroute to rde via imsg. This
is needed to orginate correct intra-area-prefix-lsas.
ok claudio@ stsp@
Diffstat (limited to 'usr.sbin/ospf6d/ospf6d.c')
-rw-r--r-- | usr.sbin/ospf6d/ospf6d.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ospf6d/ospf6d.c b/usr.sbin/ospf6d/ospf6d.c index 7848eb36e8c..4e01a7d789c 100644 --- a/usr.sbin/ospf6d/ospf6d.c +++ b/usr.sbin/ospf6d/ospf6d.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospf6d.c,v 1.19 2010/07/01 18:57:21 bluhm Exp $ */ +/* $OpenBSD: ospf6d.c,v 1.20 2010/07/06 13:24:35 bluhm Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -483,6 +483,8 @@ main_imsg_compose_ospfe(int type, pid_t pid, void *data, u_int16_t datalen) void main_imsg_compose_rde(int type, pid_t pid, void *data, u_int16_t datalen) { + if (iev_rde == NULL) + return; imsg_compose_event(iev_rde, type, 0, pid, -1, data, datalen); } |