diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-01-07 12:34:24 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-01-07 12:34:24 +0000 |
commit | d4875e05d59b3276a8aba3e928754736a7f8a90e (patch) | |
tree | 52e519ff9e33d6d773607dd31892de79e944779c /usr.sbin/bgpd/mrt.c | |
parent | b6ad9d3bfd44d49ac104819da7da45b6cdffa3bd (diff) |
Duh. Fixing stupid braino. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/mrt.c')
-rw-r--r-- | usr.sbin/bgpd/mrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/mrt.c b/usr.sbin/bgpd/mrt.c index 0faa4ce8063..a2a029e0276 100644 --- a/usr.sbin/bgpd/mrt.c +++ b/usr.sbin/bgpd/mrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mrt.c,v 1.18 2004/01/06 21:48:07 claudio Exp $ */ +/* $OpenBSD: mrt.c,v 1.19 2004/01/07 12:34:23 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -342,7 +342,7 @@ mrt_close(struct mrt *mrt) if (msgbuf_unbounded(&mrt->msgbuf)) return (0); - if (mrt->msgbuf.sock == -1) { + if (mrt->msgbuf.sock != -1) { close(mrt->msgbuf.sock); mrt->msgbuf.sock = -1; } |