summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_rib.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/rde_rib.c')
-rw-r--r--usr.sbin/bgpd/rde_rib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde_rib.c b/usr.sbin/bgpd/rde_rib.c
index 2fd1628c72d..b987129dfab 100644
--- a/usr.sbin/bgpd/rde_rib.c
+++ b/usr.sbin/bgpd/rde_rib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_rib.c,v 1.229 2022/03/01 09:38:06 claudio Exp $ */
+/* $OpenBSD: rde_rib.c,v 1.230 2022/03/01 09:39:36 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org>
@@ -1548,7 +1548,6 @@ prefix_link(struct prefix *p, struct rib_entry *re, struct pt_entry *pt,
struct rde_community *comm, struct nexthop *nexthop, uint8_t nhflags,
uint8_t vstate)
{
-
if (re)
p->entry.list.re = re;
p->aspath = path_ref(asp);