diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2009-02-10 17:32:59 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2009-02-10 17:32:59 +0000 |
commit | fc4bc5b1c08fecf038fb76c11d363c065e684524 (patch) | |
tree | 3298a891c6b5b3dae24f07ddfcc0510954b77953 /usr.sbin | |
parent | 981868755d3c065018ba0e44dded9e83d950405b (diff) |
Fix two obvious copy-paste errors in fatal error messages. We were
printing IFINFO while we are actually handling an IFDELETE imsg.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ospf6d/ospfe.c | 4 | ||||
-rw-r--r-- | usr.sbin/ospf6d/rde.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ospf6d/ospfe.c b/usr.sbin/ospf6d/ospfe.c index 84ac7a55809..95516b70ed6 100644 --- a/usr.sbin/ospf6d/ospfe.c +++ b/usr.sbin/ospf6d/ospfe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfe.c,v 1.22 2009/02/03 14:12:22 stsp Exp $ */ +/* $OpenBSD: ospfe.c,v 1.23 2009/02/10 17:32:58 stsp Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -314,7 +314,7 @@ ospfe_dispatch_main(int fd, short event, void *bula) case IMSG_IFDELETE: if (imsg.hdr.len != IMSG_HEADER_SIZE + sizeof(ifindex)) - fatalx("IFINFO imsg with wrong len"); + fatalx("IFDELETE imsg with wrong len"); memcpy(&ifindex, imsg.data, sizeof(ifindex)); iface = if_find(ifindex); diff --git a/usr.sbin/ospf6d/rde.c b/usr.sbin/ospf6d/rde.c index bdc39142ddf..bdda1ca0bb5 100644 --- a/usr.sbin/ospf6d/rde.c +++ b/usr.sbin/ospf6d/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.19 2009/02/03 14:02:01 stsp Exp $ */ +/* $OpenBSD: rde.c,v 1.20 2009/02/10 17:32:58 stsp Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org> @@ -687,7 +687,7 @@ rde_dispatch_parent(int fd, short event, void *bula) case IMSG_IFDELETE: if (imsg.hdr.len != IMSG_HEADER_SIZE + sizeof(ifindex)) - fatalx("IFINFO imsg with wrong len"); + fatalx("IFDELETE imsg with wrong len"); memcpy(&ifindex, imsg.data, sizeof(ifindex)); iface = if_find(ifindex); |