diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-07-28 19:14:26 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-07-28 19:14:26 +0000 |
commit | e53f2da330b661839af3d362ec79eaaf73b3a108 (patch) | |
tree | c50e203507c47d09da7f096c1bdda9cdc3373480 /usr.sbin/ospf6d/rde.c | |
parent | 9640e0fa09d2f91ddffc7458c4bae80b9ebb933d (diff) |
Running 'ospf6ctl show' twice caused ospf6d to fatal. Cause was a missing -
when passing -1 as fd to the imsg call. No frogs for eric@ and pyr@
From stsp@
Diffstat (limited to 'usr.sbin/ospf6d/rde.c')
-rw-r--r-- | usr.sbin/ospf6d/rde.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospf6d/rde.c b/usr.sbin/ospf6d/rde.c index d03cfb3ab41..85e083c08b3 100644 --- a/usr.sbin/ospf6d/rde.c +++ b/usr.sbin/ospf6d/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.31 2009/06/06 09:02:46 eric Exp $ */ +/* $OpenBSD: rde.c,v 1.32 2009/07/28 19:14:25 claudio Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org> @@ -574,7 +574,7 @@ rde_dispatch_imsg(int fd, short event, void *bula) LIST_FOREACH(area, &rdeconf->area_list, entry) rde_send_summary_area(area, imsg.hdr.pid); imsg_compose_event(iev_ospfe, IMSG_CTL_END, 0, - imsg.hdr.pid, 1, NULL, 0); + imsg.hdr.pid, -1, NULL, 0); break; case IMSG_IFINFO: if (imsg.hdr.len != IMSG_HEADER_SIZE + |