diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-02-14 10:38:05 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-02-14 10:38:05 +0000 |
commit | e8eed4b8ef2751ad9e001832ffd6242ae4adb8e9 (patch) | |
tree | 615dbf92006899835ec9b9891f39afdda1d524e8 /usr.sbin/bgpd/bgpd.c | |
parent | 4b0db64d2d26bde05eb494db4679f42d67ebacd5 (diff) |
Revert part of last commit, this stuff is unrelated.
Diffstat (limited to 'usr.sbin/bgpd/bgpd.c')
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index bf227599622..79c00368808 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.209 2019/02/14 10:34:54 claudio Exp $ */ +/* $OpenBSD: bgpd.c,v 1.210 2019/02/14 10:38:04 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -262,7 +262,7 @@ BROKEN if (pledge("stdio rpath wpath cpath fattr unix route recvfd sendfd", pfd[PFD_SOCK_ROUTE].events = POLLIN; timeout = mrt_timeout(conf->mrt); - if (timeout == -1 || timeout > MAX_TIMEOUT) + if (timeout > MAX_TIMEOUT) timeout = MAX_TIMEOUT; if (poll(pfd, POLL_MAX, timeout * 1000) == -1) |