diff options
author | 2004-05-03 04:44:41 +0000 | |
---|---|---|
committer | 2004-05-03 04:44:41 +0000 | |
commit | aa38e9f07c386332fa27fe7ed083e57ad8774288 (patch) | |
tree | 4ea31b99e27fdff70128a95e3ecd0a2b6b6f9e45 | |
parent | Rev 1.4 was bogus (committed from the wrong tree), this repairs it. (diff) | |
download | wireguard-openbsd-aa38e9f07c386332fa27fe7ed083e57ad8774288.tar.xz wireguard-openbsd-aa38e9f07c386332fa27fe7ed083e57ad8774288.zip |
little KNF issue
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index e7397dcff80..891502d273e 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.91 2004/04/29 19:56:04 deraadt Exp $ */ +/* $OpenBSD: bgpd.c,v 1.92 2004/05/03 04:44:41 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -459,7 +459,8 @@ dispatch_imsg(struct imsgbuf *ibuf, int idx, struct mrt_head *mrt_l) if (imsg.hdr.len != IMSG_HEADER_SIZE + sizeof(struct bgpd_addr)) log_warnx("wrong imsg len"); - else kr_nexthop_delete(imsg.data); + else + kr_nexthop_delete(imsg.data); break; case IMSG_CTL_RELOAD: if (idx != PFD_PIPE_SESSION) |