diff options
author | claudio <claudio@openbsd.org> | 2019-12-31 11:53:46 +0000 |
---|---|---|
committer | claudio <claudio@openbsd.org> | 2019-12-31 11:53:46 +0000 |
commit | c89d9b5d9f322d6d8b3df4ed4a2e391ce25b8ab1 (patch) | |
tree | d5c1a72a765d803e412f2d594169d8935332246a /usr.sbin/bgpd | |
parent | Increase BER_MAX_OID_LEN from 32 to 64. Not every snmp OID found in the (diff) | |
download | wireguard-openbsd-c89d9b5d9f322d6d8b3df4ed4a2e391ce25b8ab1.tar.xz wireguard-openbsd-c89d9b5d9f322d6d8b3df4ed4a2e391ce25b8ab1.zip |
reloadtime is not needed anymore.
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 5989c9c3118..c686719da2b 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.493 2019/12/16 10:35:02 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.494 2019/12/31 11:53:46 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -117,7 +117,6 @@ int ovs_match(struct prefix *, u_int32_t); volatile sig_atomic_t rde_quit = 0; struct bgpd_config *conf, *nconf; -time_t reloadtime; struct rde_peer_head peerlist; struct rde_peer *peerself; struct filter_head *out_rules, *out_rules_tmp; @@ -799,7 +798,6 @@ rde_dispatch_imsg_parent(struct imsgbuf *ibuf) if (imsg.hdr.len - IMSG_HEADER_SIZE != sizeof(struct bgpd_config)) fatalx("IMSG_RECONF_CONF bad len"); - reloadtime = time(NULL); out_rules_tmp = calloc(1, sizeof(struct filter_head)); if (out_rules_tmp == NULL) fatal(NULL); |